My outline is kind of funky, converted from a dxf with square corners then added a bunch of arcs to round the edges. Had a similar error during that process but by tweaking the endpoints got it to stop complaining.
However, when I try to export STEP I get this error - 3D viewer shows the outline correctly, and VRML export seems to work - anything I can do besides tweak the endpoints more?
Check also that you don’t have any extra line segments. Both endpoints of each line (straight line segment or an arc) must be attached to another line’s end point. Each line must belong to a closed continous non-intersecting outline. No “free floating” segments or arcs.
Thanks, your scripts look interesting. I tried replacing my outline with a simple rectangle and got an export, but have another issue because some of my part models are VRML, not STEP. So I will give your program a try.
Thank for interesting - for the full assembly - you need to have a 3D BOM, and I do not have a script, or instruction at this time to show u how to do it. But in the pass, I manaully create 3D BOM for only part that I actually interesting only (like big part). I will try to at least add instruction for the 3D BOM header, or example when I got another free time - May try this holidays.
This is the kind of tool that is missing from the current versions of KiCAD - snapping to an endpoint, finding a tangent, creating an arc from two endpoints, etc. The developers at CERN have teased us with the suggestion they may be included in KiCAD 6.0.0. (probably 2 years away). In the meantime, many of us do outlines in external CAD tools and import the result as a *.DXF file. I have not yet been brave enough to try 3D drafting and modeling (something about old dogs and new tricks ) but in about half a day I learned enough about the no-cost tool " LibreCAD " to efficiently create moderately complex outlines that could be imported to KiCAD.
Yeah, I was a little proud of that when it turned out so nice!
(For the record: It fits a Takachi Takachi WH145-33-M3 . All of those crosses mark points of particular interest for my project - locations of the enclosure’s screw towers, mounting holes, switches, etc.)
I’ll have to look through some old backup files and see how many dimensions I have, beyond the basic circumscribed rectangle. For the corner notches I started with Takachi’s *.DXF file of the enclosure interior; then told LibreCAD to make a circle with radius 0.8mm larger than the screw towers holding the case together; then created tangential lines from the 90 edge points to the rectangular outline. Most of the arcs were generated by telling LibreCAD to convert a corner to a radius; the two diagonal lines near the center of the board were created by telling LibreCAD to find a tangential line.
Like a lot of us say, if a KiCAD outline goes beyond a basic rectangle with rounded corners (and maybe a simple notch or two), you need to use another CAD program to define the outline. We hope that in the future KiCAD will include some of those more sophisticated drawing tools.
The look of gerber file should work with the solidworks macro. If not, it solidwork will tell you the problem, and it may be the open end, or some overlap drawing… I don’t have access to solidworks at this time to check it out yet!