-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To convert the AutoCAD's Spline into a piece of tinyspline #187
Comments
I'm not sure what you are asking for in this issue. Do you request a function which allows you to import splines from dxf files (similar to |
IC New Spline: Fit points: Control Points: Knots: |
So you were able to import the spline from AutoCAD to TinySpline on your own? |
It seems that I have imported the spline from AutoCAD to TinySpline. But new problems come up.I would create a new issue. thank you. |
There are many ways to import AutoCAD's spline, such as reading from memoryStream, importing from dwg/dxf.
We just need to focus on the defination of AutoCAD's spline:
0
SPLINE
5
308
330
1F
100
AcDbEntity
8
0
100
AcDbSpline
210
0.0
220
0.0
230
1.0
70
1064
71
3
72
13
73
9
74
7
42
0.000000001
43
0.0000000001
44
0.0000000001
40
0.0
40
0.0
40
0.0
40
0.0
40
390.5493975743106
40
677.2206757692665
40
1002.846191932886
40
1291.989729074079
40
1778.088340446106
40
2303.88494716036
40
2303.88494716036
40
2303.88494716036
40
2303.88494716036
10
120.5630166126066
20
684.6051593101001
30
0.0
10
136.6059891205045
20
884.1624861126556
30
0.0
10
164.4248329098593
20
1230.198988924623
30
0.0
10
372.9331669533137
20
773.5459064677193
30
0.0
10
852.8280532028663
20
840.2592236363769
30
0.0
10
535.638524563657
20
1339.196096196008
30
0.0
10
1351.450244239125
20
1263.431997433616
30
0.0
10
1338.621034299898
20
885.8941891046457
30
0.0
10
1331.954775845166
20
689.7196297454939
30
0.0
11
120.5630166126066
21
684.6051593101001
31
0.0
11
206.2686033815262
21
1065.634533954959
31
0.0
11
408.3802574683796
21
862.3335230764933
31
0.0
11
730.7359317883383
21
908.3639044625742
31
0.0
11
691.0810658431146
21
1194.77528111753
31
0.0
11
1177.172950702195
21
1192.218045899848
31
0.0
11
1331.954775845166
21
689.7196297454939
31
0.0
0
We cound reshape the info ,then pass the parameters(control points,degree of spline etc) to tinyspline.
The text was updated successfully, but these errors were encountered: