Sep 26, 2017
-
Jake Niemiec
How capable would you say JSCAD is for a strictly 2d, in-browser floorplan design tool? (With the main benefit being: being able to convert to .DXF)How active is the community in helping?
See screenshot below. I have just 2 main goals:
- Manipulate (blue) rectangles
- Find interior area between (blue) rectangles.
I need to do some complex math with the interior area of a polygon minus the objects contained inside. I can't tell if JSCAD would be a good fit for this.
Photo
7 comments
7
no plus ones
no shares
Shared publiclyJeff Gay Sorry, but OpenJSCAD is really for 3D designs. There are some really good 2D design tools. I'm sure a few members have used some good ones.
Sep 26, 2017
Jake Niemiec
+Jeff Gay +Arne Christian Rosenfeldt I think I put across the wrong idea. We do the CAD part by hand now. I am developing a tool to do this programmatically based on local coordinate info I already have.Perhaps I posted this in the wrong area. From your docs, it looks like 2D Paths/Primitives are supported: en.wikibooks.org - OpenJSCAD User Guide - Wikibooks, open books for an open world
OpenJSCAD User Guide - Wikibooks, open books for an open world
OpenJSCAD User Guide - Wikibooks, open books for an open world
en.wikibooks.orgSep 26, 2017
Jake Niemiec
+Arne Christian Rosenfeldt Yeah, I'm investing a few days in researching tools because I don't want to reinvent the wheel (esp. for unapproachable math).The source looks very well made, with good inline docs. But the online docs seem either unmaintained or unhelpful.
As a dev, I am mostly fine with "batteries not included" as long as I am able to pick out the useful bits (eg https://github.com/jscad/csg.js/blob/master/src/CAG.js#L308).
Sep 27, 2017
Jeff Gay
2D constructs are definitely available in JSCAD. However, there are gaps in functionality (color is one) that makes useage difficult.We would welcome any improvements in the libraries, pages or documentation (Sadly, Wikibooks is very slow for updates)
FYI, We are moving to JSDOC comments / documents for the libraries. Improving slowly.
Sep 27, 2017
Jeff Gay
By the way, I'm re-writing our support for DXF, both Import and export. You can find the progress via the IO library.Sep 27, 2017
Jake Niemiec
+Jeff Gay vector2D paths => CAG => .DXF support is the only reason I would bother with OpenJSCAD. Perhaps I need to crack open the .DXF spec and make my own. Is there a place I can follow your progress? IO repo?Sep 29, 2017
Jeff Gay
You can now. I moved the work to the IO repo, and created a branch called 'dxf-deserialize'. Please add any comments from reviews, etc.One or the major headaches of DXF is getting some really solid examples of 2D and 3D entities, not full blown documents. I've been creating some via Autocad2017, but I don't know this application well. Any help would be appreciated.