Skip to main content

project()

Projects 3D objects — faces, edges, selections — or previous sketches onto the current sketch plane. The output registers as FIXED reference geometry — constraints may target it (tangent(p, l), p.ref(i), p.center()).

A sketch source (project(s1), or an entity it returned such as project(s1.geometries.c)) is referenced, never consumed: its geometry is read as its own body left it, so the reference works whether or not an extrude has already used the sketch, and the sketch stays available to later features. A sketch cannot project its own geometry.

Returns: Reference

tip

See the guide for detailed usage examples.

Signatures​

project(...sourceObjects: SceneObject[]): Reference

Projects 3D objects — faces, edges, selections — or previous sketches onto the current sketch plane. The output registers as FIXED reference geometry — constraints may target it (tangent(p, l), p.ref(i), p.center()).

A sketch source (project(s1), or an entity it returned such as project(s1.geometries.c)) is referenced, never consumed: its geometry is read as its own body left it, so the reference works whether or not an extrude has already used the sketch, and the sketch stays available to later features. A sketch cannot project its own geometry.

ParameterTypeDescription
...sourceObjectsSceneObject[]The 3D objects or sketches to project (optional)