Better HN
topnewbestaskshowjobs
Log inSign up

guso78

3 karma · joined Sep 15, 2024 (2y ago) · 3 submissions

Submissions

comment 1mo ago · link · parent

sounds indeed interesting. can you elaborate on what information your DSL expresses ? is there a solver which calculates the actual metrics?

comment 2y ago · link · parent

Triangles quite low level internal data. mesh could output also 4 point polygons on occasion. of course we can add an parameter to mesh to let pythonscad combine the faces as mush as possible(sub-faces are coplanar) and you would actually get 6 squares for a dice), even polygon would accept faces with n points as input.

however, openscad does not have an internal B-REP kernel and you would have to rewrite the program to change that.

comment 2y ago · link · parent

This is not true anymore with PythonSCAD. There is a mesh() function which can yield the points and triangles from any Object. The User is free to modify these points and faces and finally create a new solid from it "polyhedron" You could use this to skew your model in a fancy way by altering the point coordinates but it might be more difficult to alter on the triangles.