Replies: 3 comments 6 replies
-
I am not sure that loading in binary will be faster than the ascii. For what I have seen the issue for complex STL is that the kernel creates faces for every triangle and it takes a lot of memory / processing. For instance FreeCAD does not use opencascade for meshes. The ideal process for STL in replicad should be STL => triangulation => vectorisation => Shape (i.e. STEP like). I have been tempted to put time on trying to implement a vectorisation of STLs (in this spirit), but it was a chunk of work too big for my appetite. That said, when I looked the kernel was only working on ASCII STLs - but things may I changed (I could not find the doc that said it). |
Beta Was this translation helpful? Give feedback.
-
For my curiosity, what is your use case for using replicad to modify a STL? |
Beta Was this translation helpful? Give feedback.
-
If you want to modify an existing STL a simple approach is to use Blender (https://www.blender.org/). I have used this method a few times and often it works fine. Have a look at https://www.youtube.com/watch?v=9EF2VryBAq4 for a detailed example how this could work. The downside to this approach is that you are limited in the type of adaptations you can create. Therefore I have found that rebuilding the complete shape in Replicad is sometimes a better approach. An example how this could look is #47. The benefit of this approach is that you can make the design truly parametric, so you can easily make small changes to create a part that fits. Also have a look at https://www.opencascade.com/products/cad-assistant/. This program has helped me several times to convert an existing model into a format that can be opened by one of the other programs that I use. And if this does not work, try https://solidedge.siemens.com/en/solutions/users/hobbyists-and-makers/. This software can definitively open a lot of formats and also export a lot of formats. For a hobbyist it is perhaps too complicated, but the commands for opening and saving are very straight forward. Once you have the original file in the desired format you can choose your approach from the options I mentioned previously. |
Beta Was this translation helpful? Give feedback.
-
I'm getting errors when trying to import a binary STL.
My file is 2mb binary and 10+mb ascii, loading latter takes more than 5 minutes.
Is that expected? If so, is there a workaround to import binary STL?
Documentation doesn't specify which formats are supported, but blingmything specifically says to use ascii STL.
Underlying OCC seems to support both binary and ascii
Beta Was this translation helpful? Give feedback.
All reactions