in the attached demo, select Local_CS001, and then change AttachmentOffsets (Z and Roll for example) in the Property window and see what happens. Of course you could do that otherwise too. If your changes are too wild the fillet might not pass.
Datum Plane orientation request
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Datum Plane orientation request
- Attachments
-
- LCS_demo.fcstd
- (156.91 KiB) Downloaded 111 times
Re: Datum Plane orientation request
Thank you for the example. I am trying to understand the advantages of the LCS compared to the Body origin and sketch attachment properties.
When I try to make any attachment change to the Local_CS001 the model breaks as shown below. What version are you using?
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15697 (Git)
Build type: Release
Branch: master
Hash: dedaa807629ab25cf32977d30bf7610f1346aff7
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
"It is a poor workman who blames his tools..."
Re: Datum Plane orientation request
As I understand, you can have only 1 Origin in a Part or Body, but you can have many LCS
OS: Ubuntu 18.04.1 LTSWhen I try to make any attachment change to the Local_CS001 the model breaks as shown below. What version are you using?
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15363 (Git) AppImage
Build type: Release
Branch: master
Hash: 9be3e633328335f1172456f5857219b7a08c70a5
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
as it looks, you're editing the "MapMode", try with the "AttachmentOffset" (2 lines below)
Re: Datum Plane orientation request
But, you can have any number of sketch attachment offsets.
Same, same result.
"It is a poor workman who blames his tools..."
Re: Datum Plane orientation request
yes, I know that you can do the same with other tools. But how do you visualize the position of the sketch when you're creating it ? Also, what if you want to attach more stuff on the same position ? Like a sketch, a Datum Line ...
strange .... dunno
Re: Datum Plane orientation request
I do like the visual aid of an LCS. I'll have to give it a go in my next assembly model.
with the latest development version 0.18.15697.
I suppose one of us should submit a bug report if someone can duplicate the behavior
with the latest development version 0.18.15697.
"It is a poor workman who blames his tools..."
Re: Datum Plane orientation request
First thing to say, I had to remake the Fillet in @Zolko's demo file for any of my builds to work including the latest ASM3. Then with my modified file (attached) I narrowed the issue down to a Py3Qt5 problem based on just changing the Roll anywhere between 90 and 45 degrees in the same build revision:
Works using:
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15697 (Git)
Build type: Release
Branch: master
Hash: dedaa807629ab25cf32977d30bf7610f1346aff7
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedKingdom (en_GB)
Doesn't work using:
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15697 (Git)
Build type: Release
Branch: master
Hash: dedaa807629ab25cf32977d30bf7610f1346aff7
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
The oldest Py3Qt5 build I have is 018.15468 and it fails in that too.
Works using:
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15697 (Git)
Build type: Release
Branch: master
Hash: dedaa807629ab25cf32977d30bf7610f1346aff7
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedKingdom (en_GB)
Doesn't work using:
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15697 (Git)
Build type: Release
Branch: master
Hash: dedaa807629ab25cf32977d30bf7610f1346aff7
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
The oldest Py3Qt5 build I have is 018.15468 and it fails in that too.
- Attachments
-
- LCS_demo_jps.fcstd
- (152.07 KiB) Downloaded 95 times
Re: Datum Plane orientation request
Thanks for looking into this.
I am able to make indiscriminate changes in the offsets and angles of the Local_CS001 without the model breaking.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15697 (Git)
Build type: Release
Branch: master
Hash: dedaa807629ab25cf32977d30bf7610f1346aff7
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
Your modified file now works as expected with my version, so perhaps it is not a bug but a problem with the original model?
I am able to make indiscriminate changes in the offsets and angles of the Local_CS001 without the model breaking.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15697 (Git)
Build type: Release
Branch: master
Hash: dedaa807629ab25cf32977d30bf7610f1346aff7
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
"It is a poor workman who blames his tools..."
Re: Datum Plane orientation request
Looks like an OCC bug: I tested my demo file and yours, and mine always works on OCC 7.3, and never on anything else, and yours always works on anything except 7.3
I have:
OS: Ubuntu 18.04.1 LTS
Version: 0.18.LinkStage3-z
Build type: Unknown
Python version: 3.6.7
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 6.9.1.oce-0.18
and:
OS: Ubuntu 18.04.1 LTS
Version: 0.17.13541 (Git) AppImage
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
I've actually been hit by this bug before, but I thought it was my fault:
Syres wrote: ↑Thu Jan 24, 2019 6:20 pm First thing to say, I had to remake the Fillet in @Zolko's demo file for any of my builds to work including the latest ASM3. Then with my modified file (attached) I narrowed the issue down to a Py3Qt5 problem based on just changing the Roll anywhere between 90 and 45 degrees in the same build revision:
Works using:
Version: 0.18.15697 (Git)
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Doesn't work using:
Version: 0.18.15697 (Git)
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
The oldest Py3Qt5 build I have is 018.15468 and it fails in that too.
I have:
OS: Ubuntu 18.04.1 LTS
Version: 0.18.LinkStage3-z
Build type: Unknown
Python version: 3.6.7
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 6.9.1.oce-0.18
and:
OS: Ubuntu 18.04.1 LTS
Version: 0.17.13541 (Git) AppImage
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
I've actually been hit by this bug before, but I thought it was my fault:
realthunder wrote: ↑Mon Jan 21, 2019 10:01 am You are using an older OCCT 6.9. It is (so much) better to use 7.3 (used in my AppImage) instead. That's probably why you are getting lots of model breaking when switching between different FC builds. And that may also be part of the reason of the above performance difference.
Re: Datum Plane orientation request
Ok, thank you for the explanation, I don't use PD much and my models are nothing like as comprehensive as @ppemawm produces so I've never come across any OCC bug as much as I swap between OCC 7.2 and 7.3.