OpenJSCAD.org
OpenJSCAD.org copied to clipboard
DXF : add support for INSERT entities
Expected Behavior
Mulitple renderings of the block entity are inserted into the returned shapes.
Actual Behavior
Just one, from the block.
Steps to Reproduce the Problem
- Convert the given DXF
- There should be several holes (circles) offset from the first.
Specifications
- Version: ALL
- Platform: ALL
- Environment: ALL
Hi,
I see the way of exporting dxf content by using some static parts and combine them. For the INSERT entity to work properly its need the BLOCKS section to be dynamic and support:
- Adding new blocks
- Adding entities to blocks (lines, circles, etc...)
- Add INSERT entity by referencing created blocks
There is to options to acheive this:
- Using a tier library to handle all the complexity (I suggest my lib dxfjs/writer 😁).
- Implement dynamic solution. I want to mention there is some content optional included in the static parts.
If you can tell which option I will make some PRs to help as I can.
Regards