Is this a bug?
A dwire created on a plane other then XY, will still have its Normal in global Z direction.
Dropping the dwire to a wire, the resulting wire will have its Normal relative to the plane the dwire was created on.
Resulting in:
Extruding a dwire will always result in an extrusion in global Z direction.
Extruding a wire will extrude in a z-direction normal to plane formed by wire
Consistant repeatable behaviour in fc 0.17 / 0.18
Any ideas anyone?
regards
dwire vs wire
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: dwire vs wire
seems like a bug. if you make a rectangle it works. strange.
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: dwire vs wire
If you make a compound from the Part menu in the Part workbench using the dwire object, and then extrude the compound it will produce the expected results. Other operations that you can also try: Part -> refine and Part -> make simple copy.
You can also use a custom direction. One way to determine the custom direction if you are using a recent 0.18 developmental build is to use the Placement task dialog to create a normal axis, make note of it, and enter that same direction in the extrude dialog.
The way to do this is to select the dwire object, then open the placement dialog. Now, in the 3d view, select 3 points on that dwire object (presumes the dwire object is coplanar, if it isn't, then you need to ensure the 3 points you select will define a plane that is normal to the desired direction), then click the Selected points button. This creates a new axis of rotation that is normal to the plane defined by the 3 selected points. By applying a 0 degree rotation we don't actually move the dwire, but we get these direction values printed out in the python console, which we can then refer to from the extrude task dialog in order to use it as a custom direction.
You can also use a custom direction. One way to determine the custom direction if you are using a recent 0.18 developmental build is to use the Placement task dialog to create a normal axis, make note of it, and enter that same direction in the extrude dialog.
The way to do this is to select the dwire object, then open the placement dialog. Now, in the 3d view, select 3 points on that dwire object (presumes the dwire object is coplanar, if it isn't, then you need to ensure the 3 points you select will define a plane that is normal to the desired direction), then click the Selected points button. This creates a new axis of rotation that is normal to the plane defined by the 3 selected points. By applying a 0 degree rotation we don't actually move the dwire, but we get these direction values printed out in the python console, which we can then refer to from the extrude task dialog in order to use it as a custom direction.
Re: dwire vs wire
Can someone please explain the difference between a wire and a Dwire?
Re: dwire vs wire
A wire is a single straight line and a dwire is a chain of lines, For Autocad users you can compare a dwire with a polyline
Re: dwire vs wire
The red one is a Dwire and the blue one is a wire. Looks pretty the same
This is the properties tab of the Dwire
And that's the one of the wire
Re: dwire vs wire
The differences I have found are:
Wire is not easily editable
Wire extrudes in a predictable way
dwire is easily editable
dwire does not extrude easily in a predictable way (if created on a plane other than XY)
Q) Why do we have the two entity types wire and dwire. Are they not basically the same?
Wire is not easily editable
Wire extrudes in a predictable way
dwire is easily editable
dwire does not extrude easily in a predictable way (if created on a plane other than XY)
Q) Why do we have the two entity types wire and dwire. Are they not basically the same?