View Full Version : Wire generation
donniedrake
01-15-2003, 08:22 AM
Does anyone know of if there is a module or feature (lisp) that could be used to generate wires in OSD? I'd like to be able to give a start point and an end point with a center route point for the wire to go through...........Donnie
See jpg for example
jkramer
01-15-2003, 11:38 PM
Hi,
if the route of your wires doesn't need to be too exact, you could use the tool that can be found in:
(SolidDesigner directory)\documentation\integration_kit\examples\pipe_lsp.html
We use it for wiring all the time.
One hint: before using it always check if in "Create 2D" the geometry mode is on "Geometry" and not on "Construct".
We repaired this "bug" by adding a line to the code:
..............
(when pipe-profile
(sd-call-cmds (delete_2d :all_2d)))
(sd-call-cmds (GEOMETRY_MODE :REAL))
(sd-call-cmds (circle :cen_rad 0,0 radius))
..............
The line (sd-call-cmds (GEOMETRY_MODE :REAL)) was added.
Good luck,
Jaap Kramer
Mario
01-16-2003, 06:13 AM
Hi,
have you had a view to the curve 3D Module?
Probably the Spline 3D would be of some use here.
Using a workplane and the function Sweep Add under Freeform could then be used to generate a 3D wire with a certain thickness from the curve.
Mario
Berney Coleman
01-17-2003, 06:58 PM
If you have the Surfacing Module, use 3D spline curves. Then load the Thicken goodie
(load "cv3d_thicken")
Look for the command in the toolbox. You can even measure the length of the 3D spline curve.
Hope this helps.
Berney
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.