jscad / jscad/OpenJSCAD.org

Path could have variable Z position

Open
#488 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

V3
Dominant language
JavaScript
Stars
3.2k
Forks
564
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached path3d_diffrence.txt reproduction and inspect the current Path, rectangularExtrude, and difference entry points. Determine the intended API and behavior for paths containing X, Y, and Z coordinates, then add coverage showing that the 3D path can be extruded and differenced while producing the expected 2D result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.