#truck #modeling #graphics #topology #cad #geometry #generated

truck-modeling

integrated modeling algorithms by geometry and topology

11 unstable releases

0.6.0 Sep 20, 2024
0.5.1 Jan 13, 2023
0.5.0 Dec 21, 2022
0.4.0 May 24, 2022
0.2.0 Dec 28, 2020

#282 in Math

Download history 7/week @ 2024-07-19 32/week @ 2024-07-26 10/week @ 2024-08-02 11/week @ 2024-08-23 9/week @ 2024-08-30 4/week @ 2024-09-06 2/week @ 2024-09-13 168/week @ 2024-09-20 56/week @ 2024-09-27 24/week @ 2024-10-04 38/week @ 2024-10-11 72/week @ 2024-10-18 27/week @ 2024-10-25 53/week @ 2024-11-01

192 downloads per month
Used in 4 crates

Apache-2.0

1MB
15K 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 cone.

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

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.

sphere

Modeling a sphere

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

torus-punched-cube

A cube punched by a torus.

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

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

~4.5–10MB
~112K SLoC