Skip to content

Commit 7c57fe6

Browse files
committed
Working offset with still some small bugs
1 parent ada73cb commit 7c57fe6

40 files changed

Lines changed: 3851 additions & 1035 deletions

Cargo.lock

Lines changed: 148 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
[package]
22
name = "offroad"
3-
version = "0.0.1-alpha"
43
edition = "2021"
4+
categories = ["algorithms", "data-structures", "graphics", "mathematics"]
5+
keywords = ["offset", "offseting", "2d", "cad", "geometry", "cnc", "polygon"]
6+
license = "MIT"
7+
repository = "https://github.com/radevgit/offroad"
8+
version = "0.0.1-alpha"
9+
description = "2D offsetting for arc polylines."
510

611
[dependencies]
712
#rand = "0.8.5"
13+
rand = "0.9.1"
814
robust = "1.1.0"

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
![Build](https://github.com/radevgit/offroad/actions/workflows/rust.yml/badge.svg)
66

7+
![arc-line poligon offsets](https://github.com/radevgit/offroad/img/offsets.svg "arc-line poligon offsets"
8+
9+
710
## Status
811

9-
In implementation
12+
In implementation.
13+
14+
You can run one of the tests inside offset.rs like: test_offset_multiple_complex_polyline().
15+
The test will create SVG file: /tmp/out.svg

img/offsets.png

31.8 KB
Loading

0 commit comments

Comments
 (0)