SimplifiedLogic / creoson

OpenSource Automation using JSON Transactions for PTC's CREO Parametric
http://www.creoson.com
MIT License
81 stars 23 forks source link

Feature request - Add STL support for interface:export_file #48

Open nschoen opened 4 years ago

nschoen commented 4 years ago

It would be really nice to have STL support for file exports through interface:export_file. I use the STL format for point cloud creation by using the vertices of the mesh format and sampling additional points on the surfaces. Currently I use FreeCAD to convert STEP to STL.

Thanks! And great work, creoson simplifies my work a lot.

davidhbigelow commented 4 years ago

You can use a mapkey for this... I don’t think off hand there is a specific export function for this in JLINK - might be wrong. But a mapkey will work.

Glad you love CREOSON ... please brag about it if you don’t mind on the PTC community - maybe share an example. 😬

On Wed, Mar 25, 2020 at 8:17 AM Nicolas Schönborn notifications@github.com wrote:

It would be really nice to have STL support for file exports through interface:export_file. I use the STL format for point cloud creation by using the vertices of the mesh format and sampling additional points on the surfaces. Currently I use FreeCAD to convert STEP to STL.

Thanks! And great work, creoson simplifies my work a lot.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SimplifiedLogic/creoson/issues/48, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMSRJIBS2P63JWAPCHWED3RJHY5JANCNFSM4LTNBMKA .

-- David Bigelow, President Simplified Logic, Inc https://www.simplifiedlogic.com | SimilarParts.ai C: 317-431-5454

adama2000 commented 4 years ago

The JLink API does appear to support STL export -- it has two different types, "STL ASCII Export" and "STL Binary Export". So in theory we could add both of those to creoson.

Zepmanbc commented 4 years ago

You can choose chord and angle too?

adama2000 commented 4 years ago

The export functions appear to support setting these (whether creoson would support them is another question):

You can specify either quality or a combination of maxChordHeight/angleControl, but not both.