Haskell-Things / Haskell-Things/ImplicitCAD

Negative extrude height leads to malformed output

Open
#108 1 comment 0 reactions 0 assignees View on GitHub
extopenscad
Dominant language
JavaScript
Stars
1.6k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

The following extopenscad code:

```
linear_extrude(-5) square(5);
```

will lead to a cube where normal vectors of the top and bottom faces are pointing inwards instead of outwards. I believe this is caused by the extrusion algorithm falsely assuming that all extrusions will have positive heights and setting the normal vectors based on that.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.