My simple cad program
By jesseg
190 234 [
698]
1247 2645 4538 kbps |
flash html5 auto [
download]
This is a screen capture video of my simple cad program in its current stage of development.
Most of the menu items don't actually do anything yet, and there is currently no way to create items, but it does display items and allow panning and zooming.
Center mouse button causes panning, while scroll wheel causes zooming.
The data file for the above items is shown below.
!+item
color=255,127,255,127
!+line
endstyle=3
width=.1
!+points
3,4,0
!-points
!-line
!-item
!+item
color=0,255,0,64
!+line
endstyle=20
width=.1
!+points
-2,-2,-2
5,5,0
7,6,0
6,7,0
10,6,0
5,10,9
!-points
!-line
!-item
!+item
color=127,255,0,128 #alpha is optinal.
showname=1
layer=4
name=test line2
!+line
showpoints=1
showlines=1
closed=1
filled=1
width=3
!+points
-1,-1,0
-1,2,0
2,2,0
2,-1,0
!-points
!-line
!-item
!+item
color=255,127,0,127 #alpha is optinal.
showname=1
layer=4
name=test line
!+line
showpoints=1
showlines=1
closed=1
filled=1
width=3
!+points
0,0,0
1,1,0
2,1,0
3,0,0
!-points
!+cutouts
!+points
0.5,0.1,0
0.5,0.2,0
0.6,0.2,0
0.6,0.1,0
!-points
!+points
0.8,0.4,0
0.8,0.5,0
0.9,0.5,0
0.9,0.4,0
!-points
!-cutouts
!-line
!-item
!+item
color=255,0,0,128
!+line
endstyle=0
width=0.1
!+points
0,0,0
1,1,1
!-points
!-line
!-item
!+item
layer=3
name=test arc
!+arc
center=0.5,0.5,0.5
radius=0.5
width=0.1
closed=0
filled=0
angle1=-45
angle2=45
dir=right #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
name=test arc
!+arc
endstyle=0
center=3.5,1.5,0.5
radius=0.5
width=0.1
closed=0
filled=0
angle1=-45
angle2=45
dir=ccw #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
name=test arc
!+arc
endstyle=0
center=3.5,4.5,0.5
radius=0.5
width=0.1
closed=0
filled=0
angle1=10
angle2=50
dir=cw #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
name=test arc
!+arc
endstyle=0
center=4.5,2.5,0.5
radius=0.5
width=0.1
closed=0
filled=0
angle1=45
angle2=-45
dir=cw #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
name=test arc2
!+arc
endstyle=0
center=1.5,1.5,1.5
radius=0.5
width=0.1
closed=0
filled=0
angle1=-90
angle2=90
dir=left #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
name=test arc2
!+arc
endstyle=3
center=2.5,2.5,2.5
radius=0.5
width=0.1
closed=0
filled=0
angle1=-90
angle2=90
dir=right #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
name=test arc2
!+arc
endstyle=8
center=3.5,3.5,3.5
radius=0.5
width=0.1
closed=0
filled=0
angle1=90
angle2=-90
dir=left #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
name=test arc2
!+arc
center=5.5,3.5,3.5
radius=0.5
width=0.1
closed=0
filled=0
angle1=0
angle2=0
dir=left #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
name=test arc2 returnhere
color=255,255,255,127
!+arc
endstyle=1
center=6.5,4.5,3.5
radius=0.5
width=0.5
closed=0
filled=0
angle1=100
angle2=360
dir=right #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
name=test arc2
!+arc
endstyle=8
center=6.5,1.5,3.5
radius=0.5
width=0.01
closed=0
filled=0
angle1=90
angle2=-90
dir=left #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
name=test arc2
!+arc
endstyle=8
center=0.5,3.5,3.5
radius=1.5
width=0.1
closed=0
filled=0
angle1=90
angle2=-90
dir=left #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
color=128,255,0,128
name=test arc2
!+arc
endstyle=8
center=8.5,1.5,3.5
radius=1
width=0.1
closed=0
filled=0
angle1=90
angle2=-90
dir=left #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
name=test arc2
color=128,255,128,128
!+arc
endstyle=0
center=9.5,3.5,3.5
radius=0.25
width=0.1
closed=0
filled=0
angle1=90
angle2=-90
dir=left #cw|ccw|1|-1
!-arc
!-item
!+item
layer=3
name=test arc2
color=255,128,0,128
!+arc
endstyle=100000
center=10.5,1.5,3.5
radius=0.5
width=0.1
closed=0
filled=0
angle1=90
angle2=-90
dir=left #cw|ccw|1|-1
!-arc
!-item
!+item
!+arc
#center=1000.5,2000.5,0
radius=0.5
!-arc
!-item
Report Video