-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
989c975
commit 7a291ce
Showing
35 changed files
with
36 additions
and
4,179 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from specklepy.objects.geometry import Point, Line | ||
from specklepy.objects.models.units import Units | ||
|
||
p_1 = Point(x=0, y=0, z=0, units=Units.m) | ||
p_2 = Point(x=3, y=0, z=0, units=Units.m) | ||
|
||
line = Line(start=p_1, end=p_2, units=Units.m) | ||
line.length = line.calculate_length() | ||
print(line.length) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.