# \#path

**URL:** https://discourse.threejs.org/tag/path/861.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [My first NPM package](https://discourse.threejs.org/t/my-first-npm-package/93222)

<div class="topic-metadata">

**Author:** [@Lighty](https://discourse.threejs.org/u/Lighty)\
**Replies:** 2\
**Last updated:** [July 30, 2026, 5:15am UTC](https://discourse.threejs.org/t/my-first-npm-package/93222 "2026-07-30T05:15:58Z")

</div>

Hello! This package is designed for the visual creation and calculation of smoothed paths (camera animations in 3D scenes, object trajectories, and markers on maps). The functionality enables the construction of a conti…

---

## [Simulate an airplane trajectory using Yuka](https://discourse.threejs.org/t/simulate-an-airplane-trajectory-using-yuka/81098)

<div class="topic-metadata">

**Author:** [@David\_Gamboa](https://discourse.threejs.org/u/David_Gamboa)\
**Replies:** 11\
**Last updated:** [April 16, 2025, 8:29pm UTC](https://discourse.threejs.org/t/simulate-an-airplane-trajectory-using-yuka/81098 "2025-04-16T20:29:49Z")

</div>

I’m trying to create a path for a model airplane to fly along. So far, I’ve managed to get the airplane to follow the path using Yuka (A library that allows a model to follow a trajectory) and rotate on the X (Pitch axis…

---

## [How do i export shapes/paths from blender to threejs?](https://discourse.threejs.org/t/how-do-i-export-shapes-paths-from-blender-to-threejs/79841)

<div class="topic-metadata">

**Author:** [@kalabedo](https://discourse.threejs.org/u/kalabedo)\
**Replies:** 17\
**Last updated:** [March 27, 2025, 2:26pm UTC](https://discourse.threejs.org/t/how-do-i-export-shapes-paths-from-blender-to-threejs/79841 "2025-03-27T14:26:32Z")

</div>

Hi there, i’ve got this mesh in blender, that i want to export as a threejs path / shape: Is there a convenient way to do it? I imported it as glb and extracted the points and tried to set a shape from those points …

---

## [Extruded arc shape geometry not closing](https://discourse.threejs.org/t/extruded-arc-shape-geometry-not-closing/78435)

<div class="topic-metadata">

**Author:** [@Fennec](https://discourse.threejs.org/u/Fennec)\
**Replies:** 7\
**Last updated:** [February 22, 2025, 3:06am UTC](https://discourse.threejs.org/t/extruded-arc-shape-geometry-not-closing/78435 "2025-02-22T03:06:18Z")

</div>

Can someone please tell me why the geometry isn’t closing properly? I just spent over an hour on what was supposed to be “aesthetic”. My brain has officially stopped functioning. (I’m out, touching some asphalt) I…

---

## [Undesired results when parsing large SVG files](https://discourse.threejs.org/t/undesired-results-when-parsing-large-svg-files/77342)

<div class="topic-metadata">

**Author:** [@Joe\_At](https://discourse.threejs.org/u/Joe_At)\
**Replies:** 9\
**Last updated:** [February 2, 2025, 6:03pm UTC](https://discourse.threejs.org/t/undesired-results-when-parsing-large-svg-files/77342 "2025-02-02T18:03:54Z")

</div>

When parsing complex and large SVG files (\> ~20 MB), I encountered several undesired results, as shown in the screenshot. These issues seem to concern \<path/\> elements, as far as I can tell. I’m not entirely sure of …

---

## [GLTFLoader path to different server. And relative texture path](https://discourse.threejs.org/t/gltfloader-path-to-different-server-and-relative-texture-path/72984)

<div class="topic-metadata">

**Author:** [@karlos](https://discourse.threejs.org/u/karlos)\
**Replies:** 2\
**Last updated:** [October 19, 2024, 1:14pm UTC](https://discourse.threejs.org/t/gltfloader-path-to-different-server-and-relative-texture-path/72984 "2024-10-19T13:14:21Z")

</div>

Hi! My first question here. OpenStreetMap supports GLB file-tiles, I want to load and show. My code runs at a local or real server. The Tiles are at a different path: https://gltiles.osm2world.org/glb/ The GLB file i…

---

## [OBJ-loader does not load file with dynamic path via String input](https://discourse.threejs.org/t/obj-loader-does-not-load-file-with-dynamic-path-via-string-input/62447)

<div class="topic-metadata">

**Author:** [@jhoss](https://discourse.threejs.org/u/jhoss)\
**Replies:** 3\
**Last updated:** [March 7, 2024, 11:24pm UTC](https://discourse.threejs.org/t/obj-loader-does-not-load-file-with-dynamic-path-via-string-input/62447 "2024-03-07T23:24:07Z")

</div>

Hi guys, why does this work: function Scene() { const obj = useLoader(OBJLoader, require("../obj-files/H17999\_67.obj")); return \<primitive object={obj} scale={0.02} /\> } But the following does not: funct…

---

## [How to bend models using a spline or similar?](https://discourse.threejs.org/t/how-to-bend-models-using-a-spline-or-similar/62391)

<div class="topic-metadata">

**Author:** [@Media](https://discourse.threejs.org/u/Media)\
**Replies:** 6\
**Last updated:** [March 7, 2024, 7:32pm UTC](https://discourse.threejs.org/t/how-to-bend-models-using-a-spline-or-similar/62391 "2024-03-07T19:32:09Z")

</div>

Im currently trying to make a game that uses conveyor belts similar to Satisfactory. I’ve tried for many hours now trying to get a system to work but it only works sometimes. Below is the code I have now which breaks if …

---

## [Native JavaScript implementation of Clipper2 for Union, Intersection and Difference operations on threejs shapes](https://discourse.threejs.org/t/native-javascript-implementation-of-clipper2-for-union-intersection-and-difference-operations-on-threejs-shapes/55672)

<div class="topic-metadata">

**Author:** [@anidivr](https://discourse.threejs.org/u/anidivr)\
**Replies:** 7\
**Last updated:** [February 5, 2024, 3:15pm UTC](https://discourse.threejs.org/t/native-javascript-implementation-of-clipper2-for-union-intersection-and-difference-operations-on-threejs-shapes/55672 "2024-02-05T15:15:35Z")

</div>

Clipper2 provides Union, Intersection and Difference clipping operations for shapes. Threejs shape points can be passed to Clipper2 and the resulting clipped shape can be added back into threejs. See the following exam…

---

## [How to make gradient follow path?](https://discourse.threejs.org/t/how-to-make-gradient-follow-path/56767)

<div class="topic-metadata">

**Author:** [@puxiao](https://discourse.threejs.org/u/puxiao)\
**Replies:** 2\
**Last updated:** [October 9, 2023, 12:57am UTC](https://discourse.threejs.org/t/how-to-make-gradient-follow-path/56767 "2023-10-09T00:57:04Z")

</div>

This problem has troubled me for a long time. Do you have any good implementation ideas? Whether it is canvas or webgl ?

---

## [Make particles follow a path - issues](https://discourse.threejs.org/t/make-particles-follow-a-path-issues/50633)

<div class="topic-metadata">

**Author:** [@UI\_UNICORN](https://discourse.threejs.org/u/UI_UNICORN)\
**Replies:** 13\
**Last updated:** [April 21, 2023, 7:42am UTC](https://discourse.threejs.org/t/make-particles-follow-a-path-issues/50633 "2023-04-21T07:42:02Z")

</div>

So i am trying to make some particles follow a path I’ve managed to this but the particles seem to be duplicated twice so there are a few particles in the middle of the screen that do not move that should not be there I’…

---

## [Is it possible to control the render order of a path of a THREE.Line using the SVGRenderer?](https://discourse.threejs.org/t/is-it-possible-to-control-the-render-order-of-a-path-of-a-three-line-using-the-svgrenderer/49202)

<div class="topic-metadata">

**Author:** [@sebastianbayer](https://discourse.threejs.org/u/sebastianbayer)\
**Replies:** 1\
**Last updated:** [March 17, 2023, 6:13am UTC](https://discourse.threejs.org/t/is-it-possible-to-control-the-render-order-of-a-path-of-a-three-line-using-the-svgrenderer/49202 "2023-03-17T06:13:38Z")

</div>

I am generating a (self avoiding) random line and render it with the SVGRenderer. It all works fine so far and the result looks like I expected. Now I would like to animate the SVG path with this simple trick: https://cs…

---

## [Odd behaviour from CatmullRomCurve3](https://discourse.threejs.org/t/odd-behaviour-from-catmullromcurve3/48688)

<div class="topic-metadata">

**Author:** [@LillyBilly](https://discourse.threejs.org/u/LillyBilly)\
**Replies:** 2\
**Last updated:** [March 7, 2023, 12:30pm UTC](https://discourse.threejs.org/t/odd-behaviour-from-catmullromcurve3/48688 "2023-03-07T12:30:03Z")

</div>

To create a smooth coaster track I am creating the XZ paths separately (custom bspline script) and combining them with the changes in the Y axis. let cords = \[\]; let cxz, cy, pr; let pi2 = Math.PI \* 2; for (let …

---

## [How to make a navigation path like this? thanks](https://discourse.threejs.org/t/how-to-make-a-navigation-path-like-this-thanks/36590)

<div class="topic-metadata">

**Author:** [@bright](https://discourse.threejs.org/u/bright)\
**Replies:** 3\
**Last updated:** [February 14, 2023, 6:57pm UTC](https://discourse.threejs.org/t/how-to-make-a-navigation-path-like-this-thanks/36590 "2023-02-14T18:57:03Z")

</div>

teachers, how to make a navigation path line like this(the green line)? im doing an indoor map, i’ve figured out how to make poi markers, but i dont know how to make line like this, ive googled but didnt find anything. T…

---

## [Move Camera in a path](https://discourse.threejs.org/t/move-camera-in-a-path/46374)

<div class="topic-metadata">

**Author:** [@Chinu\_Joshi](https://discourse.threejs.org/u/Chinu_Joshi)\
**Replies:** 0\
**Last updated:** [December 31, 2022, 2:05pm UTC](https://discourse.threejs.org/t/move-camera-in-a-path/46374 "2022-12-31T14:05:45Z")

</div>

How does camera follows the path and keeps looking forward. Also how is the path made ?? Link: https://robinpayot.com/ I tried several things, but didn’t get any resources anywhere. Pls help

---

## [Stripes on the NurbsPath](https://discourse.threejs.org/t/stripes-on-the-nurbspath/46129)

<div class="topic-metadata">

**Author:** [@RedirexStudio](https://discourse.threejs.org/u/RedirexStudio)\
**Replies:** 2\
**Last updated:** [December 23, 2022, 8:34am UTC](https://discourse.threejs.org/t/stripes-on-the-nurbspath/46129 "2022-12-23T08:34:10Z")

</div>

I have an issue with path that shows not well. I’m load GLTF model and everything is OK. But my path look like not good with some strange stripes. Can you help me? I can’t understand how i can fix it. As you can see…

---

## [Create any shape and run it along a curve](https://discourse.threejs.org/t/create-any-shape-and-run-it-along-a-curve/45673)

<div class="topic-metadata">

**Author:** [@Frundik](https://discourse.threejs.org/u/Frundik)\
**Replies:** 1\
**Last updated:** [December 11, 2022, 1:28pm UTC](https://discourse.threejs.org/t/create-any-shape-and-run-it-along-a-curve/45673 "2022-12-11T13:28:55Z")

</div>

Hello, Dear Community. I can’t understand and ask for your help: I understand how to draw a line from an array of points const curvePoints = \[ \[-6, 0, 10\], \[-1, 0, 10\], \[3, 0, 4\], \[6, 0, 1\], \[11, 0, 2\], \[13…

---

## [How to change properties of a path with GUI?](https://discourse.threejs.org/t/how-to-change-properties-of-a-path-with-gui/42855)

<div class="topic-metadata">

**Author:** [@Clemweb](https://discourse.threejs.org/u/Clemweb)\
**Replies:** 7\
**Last updated:** [September 26, 2022, 3:41pm UTC](https://discourse.threejs.org/t/how-to-change-properties-of-a-path-with-gui/42855 "2022-09-26T15:41:11Z")

</div>

Hello, I have this code : let scene = new THREE.Scene(); scene.background = new THREE.Color(0x7f7f7f); let camera = new THREE.PerspectiveCamera(60, innerWidth / innerHeight, 1, 1000); camera.position.set(8,…

---

## [Deploy three js 3D model to netlify but models didn't load (404)](https://discourse.threejs.org/t/deploy-three-js-3d-model-to-netlify-but-models-didnt-load-404/34101)

<div class="topic-metadata">

**Author:** [@cheenou13](https://discourse.threejs.org/u/cheenou13)\
**Replies:** 7\
**Last updated:** [January 26, 2022, 9:52pm UTC](https://discourse.threejs.org/t/deploy-three-js-3d-model-to-netlify-but-models-didnt-load-404/34101 "2022-01-26T21:52:35Z")

</div>

Hi All, I have simple .gltf 3D models, using three js loader to load all the models. The demo works fine in my local server when I run it. But when I deploy to netlify I started to get errors that the paths to the 3D m…

---

## [Extrude geometry change shape position when applying extrudePath](https://discourse.threejs.org/t/extrude-geometry-change-shape-position-when-applying-extrudepath/25386)

<div class="topic-metadata">

**Author:** [@Nassim](https://discourse.threejs.org/u/Nassim)\
**Replies:** 5\
**Last updated:** [July 17, 2021, 12:33am UTC](https://discourse.threejs.org/t/extrude-geometry-change-shape-position-when-applying-extrudepath/25386 "2021-07-17T00:33:28Z")

</div>

Hello community ! im facing a problème on extrude geometry. what i want is simple : draw square shape extrude this shape following a curve path the problème is when i apply extrusion, the shape moves down (it does n…

---

## [SVG path to LatheBufferGeometry?](https://discourse.threejs.org/t/svg-path-to-lathebuffergeometry/23818)

<div class="topic-metadata">

**Author:** [@GlifTek](https://discourse.threejs.org/u/GlifTek)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 2:10am UTC](https://discourse.threejs.org/t/svg-path-to-lathebuffergeometry/23818 "2021-02-25T02:10:50Z")

</div>

Hi, I’ve got the SVGLoader running fine. I’ve also got the LatheBufferGeometry running fine. The problem is: Getting the points from the SVGLoader to the LatheBufferGeometry correctly. I have it working, except that…

---

## [Three.js camera on path](https://discourse.threejs.org/t/three-js-camera-on-path/21554)

<div class="topic-metadata">

**Author:** [@Lighty](https://discourse.threejs.org/u/Lighty)\
**Replies:** 32\
**Last updated:** [December 24, 2020, 7:19pm UTC](https://discourse.threejs.org/t/three-js-camera-on-path/21554 "2020-12-24T19:19:39Z")

</div>

Good day. Have this code I’m interested in how you can make the camera move from the initial position, slightly higher along the y axis or along the axis z for example, what I need is attaching a screenshot

---

## [Animate 3d model on top of another model](https://discourse.threejs.org/t/animate-3d-model-on-top-of-another-model/18761)

<div class="topic-metadata">

**Author:** [@Abobakr](https://discourse.threejs.org/u/Abobakr)\
**Replies:** 1\
**Last updated:** [September 16, 2020, 4:11pm UTC](https://discourse.threejs.org/t/animate-3d-model-on-top-of-another-model/18761 "2020-09-16T16:11:08Z")

</div>

Hello, Is there any way to move 3D model on top of another model? I have 3D model for an airport and I have some models for airplanes. Is it possible in three.js to move the airplane on a specific path at the airport?

---

## [Rhino3dmLoader setLibraryPath?](https://discourse.threejs.org/t/rhino3dmloader-setlibrarypath/18304)

<div class="topic-metadata">

**Author:** [@bilaluali](https://discourse.threejs.org/u/bilaluali)\
**Replies:** 0\
**Last updated:** [August 31, 2020, 1:40pm UTC](https://discourse.threejs.org/t/rhino3dmloader-setlibrarypath/18304 "2020-08-31T13:40:21Z")

</div>

Hi! Noticed three js has now support for 3dm files. Great notice! I’m trying to load 3dm files, but having some issues on libraryPath. Rhino3dmLoader incorporates a method setLibraryPath to set the path to rhino3dm fold…
