OpenJSCAD.org icon indicating copy to clipboard operation
OpenJSCAD.org copied to clipboard

Path could have variable Z position

Open gitzdnex opened this issue 6 years ago • 4 comments

Expected Behavior

Path object should work on 3 coordinates. So for example user could use array of positions with X,Y,Z positions and then use rectangularExtrude and then use diffrence, still in 2d. If there is some way how to

Actual Behavior

Currently it only offers option to use 2d coordinates, so 3D path needs to be diffrenced by each part.

Steps to Reproduce the Problem

path3d_diffrence.txt

Specifications

  • Version: current web
  • Platform: Firefox
  • Environment: (browser, local server, node.js etc)

gitzdnex avatar Dec 13 '19 15:12 gitzdnex

I have forgot to add that, main reason could be time saved, because manual difference takes a lot of time, so now I am taking only positions in one Z level and using path on them, but if 3d version would work, it would make it much more faster.

gitzdnex avatar Dec 13 '19 16:12 gitzdnex

@gitzdnex can you provide an example of the desired OUTPUT?

It may be possible to create more efficient shapes before using the Boolean operations, such as union.

z3dev avatar Feb 02 '20 13:02 z3dev

Well I have tried before to make union of parts, but it was mostly same as difference. The fastest solution on time was that path.rectangularExtrude() which I am using, when Z level is same. But problem is that sometimes it creates that geometry, which breaks.

I am trying to figure out fastest way how to make diffrence between block and that cylinder on specific positions (with diffrent Z level).

What I have already tried is to use union of cylinders and then difference; Then I have tried only difference (this one is used also for rotation). Currently I am using that extrude, which is really fastest (I mean a lot like 10x or 20x times more)

gitzdnex avatar Feb 03 '20 06:02 gitzdnex

@gitzdnex can you provide an example of what you REALLY want to make? A small example should help us understand, and provide some assistance.

z3dev avatar May 11 '22 13:05 z3dev