I'm trying to use this command in Draw and I can't work out the format.
I see the help info:
Draw:
> help bzsmooth
bzsmooth : bzsmooth cname tol degree option [fic]
and from GeomliteTest_ApproxCommands I can see that there are 3 methods/options: -GR, -PR and (unnamed? possibly -VA) method 3. Is there any information what these options do?
[fic] seems to be a file of the points to import: is there an example or format available?
Without the file ref the gui pick points with mouse works fine and creates a 3d curve
I get an exception when I try this:
Draw[3]> bzsmooth oc1 0 3 -PR iFile.txt 6 2d
An exception was caught 000002B022C70120 : OSD_Exception_ACCESS_VIOLATION: ACCESS VIOLATION at address 0x0000000000000010 during 'READ' operation
where the iFile.txt looks like this:
27.0 1.0
28.0 3.5
28.7 5.4
29.7 7.6
30.9 10.0
31.8 12.6
Any help or pointers greatly appreciated!
I'm using the 7.8.0 pre-compiled windows occt-vc143-64 version
Cheers,
Author
Discussion
3 archived replies
Posts are displayed in their archived order.
01Commenter-1
Hello, it is an old functionality. There are no documentation for that. But the content of your file should be started from "2d" or "3d" it should be inside your file. Any more details unfortunately will request you to debug or write your own realisation.
Best regards, Commenter-1.
02Commenter-2
The only file sample that could be found in tests is bug30442_points.txt (from opencascade-dataset-7.8.0.zip) used by neighbor command bsmooth:
3
3d
0 0 0
6000 6000 6000
9000 1000 3000
Number of points, 3d format, followed by per point coordinates.