[Gmsh] Scaling of a CAD file

Germán Theler gtheler at seamplex.com
Fri Mar 22 16:25:24 CET 2019


http://gmsh.info/doc/texinfo/gmsh.html#index-Geometry_002eOCCTargetUnit

On Fri, Mar 22, 2019, 10:51 Johannes Dillinger <jojodillinger at gmail.com>
wrote:

> Dear all,
>
> I generated a step-file in onshape and exported (in meter) to a step file.
>
> When merging in GMSH it is imported in millimeters, and I was wondering
> how this can be changed.
>
> I tried
> Geometry.ScalingFactor = 0.001;
> but it does not seem to have an effect in the geo file, and moreover I
> dont know if it will influence also the geometry I generate in .geo (aside
> from the imported one).
>
> I adjusted the meshing in the .geo-file acordingly (millimeter), but in
> the would like to set up the entire meshing in meter rather than millimeter.
>
> Could you tell me how to solve this? I attached both, the step file and
> the .geo file.
>
> Thank you already in advance,
> best regards,
>
> Johannes
>
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20190322/9f0d949e/attachment.html>


More information about the gmsh mailing list