today I saw an odd behaviour with one of my models I prepared for KiCAD.
Structures containing Offset2D features and gets translated in a group with another grouped object, leave a ghost at the origin position.
I use openSCAD to create the model --> export CSG --> import in freecad --> export to .stp, .wrl using kicad stepup.
So i reduced the code to the minimum that sill produces an error:
Code: Select all
translate([0,0,10]){
for (i=[0:3])
translate([0,i*3,i*5]) coilShape([10,10],5,3);
cube(10,true);
}
module coilShape(innerDims, thick, width){
translate([0,0,-width/2]) linear_extrude(width) difference(){
offset(thick) square(innerDims,true);
square(innerDims,true);
}
}
OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24267 +148 (Git)
Build type: Release
Branch: Branch_0.19.4
Hash: 476ecf091941bead59b14e44afa6064d5a66afa3
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: German/Germany (de_DE)