Hi all,
I have noticed a strange behavior for layered extrusion. It appears that if you 
first extrude a point to line and then operate a translation on the line than 
the layering is lost:
my GMSH version is version 4.5.0-git-a2a0ecd on a Mac
below is my code:
SetFactory("OpenCASCADE");
trace_width = DefineNumber[ 1, Min .01, Max 1000, Step .01, Name "  Track 
parameters/trace width (mm)"  ];trace_width = trace_width/1000;
trace_thickness = DefineNumber[ 1, Min .01, Max 1000, Step .01, Name "  Track 
parameters/trace thickness (mm)"  ];trace_thickness = trace_thickness/1000;
trace_start_right = newp;Point(trace_start_right) = {0, 0, -trace_thickness/2, 
trace_width};extrude_point = Extrude {-trace_width, 0, 0}{ 
Point{trace_start_right}; Layers { 3 };};trace_width_line = 
extrude_point(1);Translate { -.1, .1, 0 } { Line{trace_width_line}; } // this 
operation voids the Layers{3} request
Is this normal?
Many thanks,
Marco

 
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to