did you try with a circular array ?
Assembly3 preview
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Assembly3 preview
-
- Veteran
- Posts: 2190
- Joined: Tue Jan 03, 2017 10:55 am
Re: Assembly3 preview
There are other ways, but probably not better in comparison. If you are using my release, the PartDesign there allows you to create multiple solid that are independent with each other. So you can just make a new solid with another polar pattern on the pocket feature, which will give you three cylinders.M4x wrote: ↑Fri Jul 09, 2021 8:31 pm I was able to adapt this workaround for one screw. But since I've used PartDesign_PolarPattern, I didn't have a sketch for the other two holes already. Therefore I've added datum planes, used the holes to align the planes and created sketches to use them within Assembly 3 to align the two other screws:
Is this the "best" way to do it or should I've done something differently?
You can also create the element with the sketch, and manually adjust the element's Offset property to move it to the other hole. And then create another one, do the same.
Or just do what Zolko says, using a draft polar array, but that require you to wrap the array and the body into a sub assembly before use.
Re: Assembly3 preview
Hi,
I've created a parametric design for an ISO 7045 torx screw. All of the variables belong to a spreadsheet in the file and I am using the enumeration/property table feature to select values from the spreadsheet.
Whenever I recompute the model I get the following errors:
I've created a parametric design for an ISO 7045 torx screw. All of the variables belong to a spreadsheet in the file and I am using the enumeration/property table feature to select values from the spreadsheet.
Whenever I recompute the model I get the following errors:
Code: Select all
17:43:09 <Exception> PropertyStandard.cpp(604): PropertyEnumeration Torx_Screw#Body.Length expects type in list to be string, not Base.Quantity
in binding '.Length.Enum'
17:43:09 Recompute failed! Please check report view.
- Attachments
-
- Torx Screw.FCStd
- (21.73 KiB) Downloaded 103 times
-
- Veteran
- Posts: 2190
- Joined: Tue Jan 03, 2017 10:55 am
Re: Assembly3 preview
Currently, Enum binding only accept string in the list. I'll change that later. Meanwhile, you can manually change the spreadsheet to make the content in the cells as string instead of quantity. So instead of =1mm, change it to '1mm, i.e. proceed the content with a single quote to force the cell to be interpreted as plain text.Cyclonit wrote: ↑Wed Jul 21, 2021 3:44 pm Hi,
I've created a parametric design for an ISO 7045 torx screw. All of the variables belong to a spreadsheet in the file and I am using the enumeration/property table feature to select values from the spreadsheet.
Whenever I recompute the model I get the following errors:Code: Select all
17:43:09 <Exception> PropertyStandard.cpp(604): PropertyEnumeration Torx_Screw#Body.Length expects type in list to be string, not Base.Quantity in binding '.Length.Enum' 17:43:09 Recompute failed! Please check report view.
Re: Assembly3 preview
This works inside of file I shared. But it breaks when linking the part in a different file. Steps to reproduce:realthunder wrote: ↑Thu Jul 22, 2021 2:52 amCurrently, Enum binding only accept string in the list. I'll change that later. Meanwhile, you can manually change the spreadsheet to make the content in the cells as string instead of quantity. So instead of =1mm, change it to '1mm, i.e. proceed the content with a single quote to force the cell to be interpreted as plain text.
1. In a different file, click "Link Actions -> Make Link" 2. In the link, select the part "ISO 7045" from its file and set "Link Copy on Change" to "Enabled". 3. Change any parameter on the link.
The last step results in FreeCAD creating a copy of the source part and its spreadsheet in the assembly file. The copied spreadsheet doesn't maintain the "'3mm" format, but converts every instance of "<integer>mm" into an actual value, thus breaking the copy of the part.
-
- Veteran
- Posts: 2190
- Joined: Tue Jan 03, 2017 10:55 am
Re: Assembly3 preview
You have just uncovered a rather obscure bug in Spreadsheet. I have fixed it. You can prepend the cell content with some arbitrary alphabet to work around it.
Re: Assembly3 preview
Thank you very much for the quick fix. I guess it will be part of the next daily build?
On a different note, have you considered hiding the "shadow copies" created by links from the tree view? I don't see any immediate reason to have them there and they add a lot of clutter. Maybe you could put them into a sub-folder such that they remain accessible without being a hassle. On that note it might be a good idea to group all copies originating from the same link. As you can see in my example, each link creates a copy of the part and its spreadsheet. Thus I end up having lots of spreadsheets called "Vars00x" in my tree view.
-
- Veteran
- Posts: 2190
- Joined: Tue Jan 03, 2017 10:55 am
Re: Assembly3 preview
There are two ways to 'hide' it. One, simply right click the make this behavior default somehow. The copied object may be grouped by other object, and hiding it will hide all occurrences.
Second way is to set 'Show Item' property of the Link to 'False', and set 'Element Count' to one. This will create a link array with one element, hence grouping the linked object under the link.
Re: Assembly3 preview
Thank you very much, that works great. Now I can start utilizing the parameterized parts properly.
From a UX perspective, I believe the best approach would be to group the shadow copies under the link object as shown below. This way they are properly associated with the link instead of being seemingly unrelated. This way, the copies would also end up in the same groups as their respective links. Though I assume this would require a new kind of container object.
-
- Posts: 33
- Joined: Wed Jun 12, 2019 10:41 am
ASM3 BOM
Hello,
mabye someone could help me please.
I dont get it what is wrong it always says that i dont have acess to B1?
thanks
mabye someone could help me please.
I dont get it what is wrong it always says that i dont have acess to B1?
thanks
- Attachments
-
- Bild_2021-07-30_155649.png (176.77 KiB) Viewed 9843 times