3d - How to programmatically alter an existing stl (stereolitography) file on a linux server? -
I would like to modify some aspects of a stat file, which is built with solid work, on Linux server Is there a try and test way for such a job? I am currently looking at the 3D library or Messelbarsarwer.
You can use meshlabserver like this
You have to type the process.mlx file to define operation on the model For example, below Half scale on z axis with the process of MLX
& lt ;! DOCTYPE FilterScript & gt; & Lt; FilterScript & gt; & Lt; Filter name = "conversion: scale, normalize" & gt; & Lt; Par value = "1" type = "richflat" description = "x axis" name = "axis x" tooltip = "scaling" /> & Lt; Par value = "1" type = "richflat" description = "y axis" name = "axis" tooltip = "scaling" /> & Lt; Par value = "0.5" type = "richflat" description = "z axis" name = "axis" tooltip = "scaling" /> & Lt; Param value = "false" type = "RichBool" Description = "Uniform scaling" name = "Uniform flags" tooltip = "If the same scaling (similar to all three axes) is selected (x axis value is used) Is) "/> & Lt; Parum value = "0" enum_val1 = "barycenter" enum_val2 = "custom point" type = "richmanam" description = "center of scaling:" name = "scale center" enum_cardinality = "3" tooltip = "choose a method" / Gt; & Lt; Param type = "RichPoint3f" x = "0" y = "0" Description = "custom center" z = "0" name = "customCenter" tooltip = "This scaling center only selects 'custom point' option." / & Gt; & Lt; Param value = "false" type = "RichBool" Description = "Scale for unit" bbox "name =" unitFlag "Tooltip =" If selected, the object has been scaled with a box whose side is 1 unit "Param value =" true "type =" RichBool "description =" freeze matrix "name =" freeze "tooltip =" The change is clearly applicable, and the top coordinates actually change "/>
Param value =" false "type =" RichBool "Description =" Apply to all visible layers "name =" alllayers "tool Ip = "If the filter is selected, then all visible map layers will be applied" />
if If you are not familiar with the MacHeal MLX file, you can create it with a trick,
filters> normal, curves and orientation>
< / Pre>Then set the scale in the window, you can uncheck the
uniform scaling
checkbox to scale each axis separately Click
then click on the
Apply
button.Finally,
Filters & gt; Show the current filter script
, you can see the current script here, selectTresform: Scale, Normal
and clickSave Script
as theprocess . MLX
Comments
Post a Comment