inputlabs / prototypes_cad

Other
2 stars 5 forks source link

Add front case #26

Closed tomas-pecserke closed 1 year ago

tomas-pecserke commented 1 year ago

Front Case

Blank body prototype using 3d point paths and skin operation.

image

Debugging polygons when using skin operation

Some point have to be repeated multiple time to match vertices to their respective counterpart from the next path. It is then useful to be able to visualize the path.

// render the geometry as transparent
%skin([bottomProfile, middleProfile, topProfile, surfaceProfile], 0);

// stroke and color the paths
rainbow([bottomProfile, middleProfile, topProfile, surfaceProfile]) stroke($item, 0.2, closed=true);

// debug the paths' points and edges
debug_polygon(bottomProfile);
down(2) debug_polygon(middleProfile);
down(1) debug_polygon(topProfile);
debug_polygon(surfaceProfile);

image