jscad / OpenJSCAD.org

JSCAD is an open source set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code. It provides a quick, precise and reproducible method for generating 3D models, and is especially useful for 3D printing applications.
https://openjscad.xyz/
MIT License
2.7k stars 517 forks source link

DXF : add support for INSERT entities #565

Open z3dev opened 4 years ago

z3dev commented 4 years ago

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

  1. Convert the given DXF
  2. There should be several holes (circles) offset from the first.

Specifications

insert.dxf.txt

tarikjabiri commented 2 years ago

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:

There is to options to acheive this:

If you can tell which option I will make some PRs to help as I can.

Regards