#truck #graphics #modeling #topology #geometry #integrated #cad

truck-modeling

integrated modeling algorithms by geometry and topology

10 unstable releases (4 breaking)

0.5.1 Jan 13, 2023
0.5.0 Dec 21, 2022
0.4.0 May 24, 2022
0.3.0 Dec 4, 2021
0.2.0 Dec 28, 2020

#613 in Math

Download history 76/week @ 2024-03-17 4/week @ 2024-03-24 66/week @ 2024-03-31 54/week @ 2024-04-07 36/week @ 2024-04-14 42/week @ 2024-04-21 22/week @ 2024-04-28 15/week @ 2024-05-05 28/week @ 2024-05-12 159/week @ 2024-05-19 76/week @ 2024-05-26 41/week @ 2024-06-02 111/week @ 2024-06-09 23/week @ 2024-06-16 19/week @ 2024-06-23

157 downloads per month
Used in 4 crates

Apache-2.0

785KB
14K SLoC

truck-modeling

Crates.io Docs.rs

Integrated modeling algorithms by geometry and topology

Sample Codes

bottle

Modeling a bottle.

This is a technical indicator for comparing with Open CASCADE Technology, a great senior. We want to reproduce the bottle made in the OCCT tutorial. Now, one cannot make a fillet or run boolean operations by truck. So, the bottle made by this script is not completed.

Generated json file can be visualized by simple-shape-viewer, an example of truck-rendimpl.

cone

Modeling a unit cube by three sweeps.

cube-in-cube

An example of the solid with several boundaries

cube

Modeling a unit cube by three sweeps.

Generated json file can be visualized by simple-shape-viewer, an example of truck-rendimpl.

cylinder

Modeling a cylinder by two sweeps.

Generated json file can be visualized by simple-shape-viewer, an example of truck-rendimpl.

punched-cube

Modeling a unit cube with a hole through it.

Generated json file can be visualized by simple-shape-viewer, an example of truck-rendimpl.

torus-punched-cube

A cube punched by a torus.

torus

Modeling a torus by two sweeps.

Generated json file can be visualized by simple-shape-viewer, an example of truck-rendimpl.

tsudumi

Modeling a one-leaf hyperboloid.

Generated json file can be visualized by simple-shape-viewer, an example of truck-rendimpl.

Dependencies

~2.8–4MB
~78K SLoC