problem with referencing to a feature in a different body
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!
problem with referencing to a feature in a different body
I try to make a sketch reference in thee Base body in the sketch for the handle to the sketch for the container in the glass body
I can establish the link to the glass body but then nothing further is found
if i understand it right freecad does not allow this
and the only way is to use the spreadsheet to share a dimension or shape builder/sketch clone??
here is the link to the model file
https://drive.google.com/file/d/1TslWTn ... sp=sharing
OS: macOS 10.16
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: (HEAD detached at 0.19.1)
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
I can establish the link to the glass body but then nothing further is found
if i understand it right freecad does not allow this
and the only way is to use the spreadsheet to share a dimension or shape builder/sketch clone??
here is the link to the model file
https://drive.google.com/file/d/1TslWTn ... sp=sharing
OS: macOS 10.16
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: (HEAD detached at 0.19.1)
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
MacOS Big Sur / Win 10
Designer | Faculty
Wayne State University
Interior - Industrial Design
Designer | Faculty
Wayne State University
Interior - Industrial Design
Re: problem with referencing to a feature in a different body
Are you implying that you want to reference the Glass object from the Base object?
If so, then yes you'd need to use a spreadsheet, dynamic data, or other technique.
If so, then yes you'd need to use a spreadsheet, dynamic data, or other technique.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: problem with referencing to a feature in a different body
Or give @Realthunder's LinkDaily a try, it would appear the user can do all sorts in the Expressions on that build.
- papyblaise
- Veteran
- Posts: 8027
- Joined: Thu Jun 13, 2019 4:28 pm
- Location: France
Re: problem with referencing to a feature in a different body
you can perfectly use external references, but not in PartDesign,
use sketcher and you can select Glass's sketch as a reference, then either open a new body and put the new sketch in it,
or you design the cup holder with Part and you reintroduce it as a basefeature in a new body if you think it is necessary
use sketcher and you can select Glass's sketch as a reference, then either open a new body and put the new sketch in it,
or you design the cup holder with Part and you reintroduce it as a basefeature in a new body if you think it is necessary
- Attachments
-
- porte goblelet.FCStd
- (331.96 KiB) Downloaded 10 times
Re: problem with referencing to a feature in a different body
Good evening to the Community!
I don't know if that's what you're trying to do
I don't know if that's what you're trying to do
- Attachments
-
- ref_bodies_different.png (170.89 KiB) Viewed 508 times
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: problem with referencing to a feature in a different body
I'm not sure exactly what you're trying to do. You want to set a constraint to reference a property of Revolution001? For example, set an angle in the sketch to match the angle used in the revolution you could just do:
<<Revolution001>>.Angle
or if it's a named constraint in the Container sketch:
<<Container>>.Constraints.NameOfConstraint
The Body does not have a local scope for the names of the features. You can see this here where the Revolution in Glass was named Revolution001 since there was already a Revolution in Base.
<<Revolution001>>.Angle
or if it's a named constraint in the Container sketch:
<<Container>>.Constraints.NameOfConstraint
The Body does not have a local scope for the names of the features. You can see this here where the Revolution in Glass was named Revolution001 since there was already a Revolution in Base.
Re: problem with referencing to a feature in a different body
i am so sorry for the confusion
in body "Base"
i would like to set a height of the handle
equal to the height dimension
in body "Glass"
sketch container
so I know in spreadsheet i can write down a value but i would rather like to reference between different bodies and sample from sketches and features values needed
i hope this is more clear now
in body "Base"
i would like to set a height of the handle
equal to the height dimension
in body "Glass"
sketch container
so I know in spreadsheet i can write down a value but i would rather like to reference between different bodies and sample from sketches and features values needed
i hope this is more clear now
MacOS Big Sur / Win 10
Designer | Faculty
Wayne State University
Interior - Industrial Design
Designer | Faculty
Wayne State University
Interior - Industrial Design
Re: problem with referencing to a feature in a different body
ah interesting with <<>> you can jump right to a container
this worked
or if it's a named constraint in the Container sketch:
<<Container>>.Constraints.NameOfConstraint
this worked
or if it's a named constraint in the Container sketch:
<<Container>>.Constraints.NameOfConstraint
MacOS Big Sur / Win 10
Designer | Faculty
Wayne State University
Interior - Industrial Design
Designer | Faculty
Wayne State University
Interior - Industrial Design
Re: problem with referencing to a feature in a different body
Huh what ? i dont follow.
MacOS Big Sur / Win 10
Designer | Faculty
Wayne State University
Interior - Industrial Design
Designer | Faculty
Wayne State University
Interior - Industrial Design