Archsketch + carbon copy
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- jsolersallent
- Posts: 15
- Joined: Tue Apr 26, 2022 12:55 pm
Archsketch + carbon copy
Hi,
I'm trying to make an archsketch and I want to use the carbon copy tool to copy another archsketch in it. The tool works fine with Sketcher, but not with Archsketch. Can you give me a solution, please?
I'm trying to make an archsketch and I want to use the carbon copy tool to copy another archsketch in it. The tool works fine with Sketcher, but not with Archsketch. Can you give me a solution, please?
Re: Archsketch + carbon copy
Thanks trying the experimental workbenchjsolersallent wrote: ↑Wed Jun 07, 2023 6:48 pm Hi,
I'm trying to make an archsketch and I want to use the carbon copy tool to copy another archsketch in it. The tool works fine with Sketcher, but not with Archsketch. Can you give me a solution, please?
Vil·la Savoye.FCStd
A few things come to my mind:-
- @abdullah ( the expert on Sketcher), the 'ArchSketch' the OP mentioned is a Sketcher::SketchObjectPython for Architectural Layout. Carbon copy is not working, any idea? Thanks.
https://github.com/paullee0/FreeCAD_Ske ... ect.py#L57
https://github.com/paullee0/FreeCAD_Ske ... t.py#L1683
Code: Select all
archSketch = grp.newObject("Sketcher::SketchObjectPython",name)
- Personally, I do not use Carbon Copy as it requires generally the original Sketch be fully constrained before application; this become vulnerable as architectural workflow always requires iteration; and it would suffer from the toponaming problem.
- ArchSketch in fact has an unexposed feature which do the same without the TNP. Want to upgrade that; tied up for a long while.
- A workaround (tedious) I also use is : Use Link to External to copy the edge, Copy the edge, apply Block constraint to the new edge, delete the 'External' edge.
- jsolersallent
- Posts: 15
- Joined: Tue Apr 26, 2022 12:55 pm
Re: Archsketch + carbon copy
Ok, thanks.
I asume you used this metod to do the Archsketch_GF_Slab of your Ville Savoye model.
I asume you used this metod to do the Archsketch_GF_Slab of your Ville Savoye model.
Re: Archsketch + carbon copy
In fact, I used a lot methods described in point 3, sometime point 4.
It helps to cross-reference different floor layout, or just a few axes.
But sometimes too much cross-referencing make modeling structure difficult to understand, e.g. by a collaborator, who may break the links
It helps to cross-reference different floor layout, or just a few axes.
But sometimes too much cross-referencing make modeling structure difficult to understand, e.g. by a collaborator, who may break the links
- jsolersallent
- Posts: 15
- Joined: Tue Apr 26, 2022 12:55 pm
Re: Archsketch + carbon copy
Could you explain point 3 in more detail? Should I update ArchSketch?
Regarding point 4, I have tried it, but I'm unsure if I should make a copy of the entire sketch and then delete what I'm not interested in. Is this correct?
Regarding point 4, I have tried it, but I'm unsure if I should make a copy of the entire sketch and then delete what I'm not interested in. Is this correct?
Re: Archsketch + carbon copy
Maybe I outline the idea/workflow of point 4 first
(It 'works' if not a lot of edges one want to link, otherwise, it may become too tedious)
Point 3 is in fact similar but coded as a feature somehow automated all the steps user needs to do manually.
I describe 3 idea on Toponaming Tolerant feature in the github - https://github.com/paullee0/FreeCAD_Ske ... g-tolerant. Item i was implemented. I found item ii would be better. Anyone interested in coding may try ?
EDIT - With the Toponaming Tolerant capability, this ArchSketch feature (idea 3) is in fact a "Toponaming Tolerant 'version' of Link to External".
(It 'works' if not a lot of edges one want to link, otherwise, it may become too tedious)
Point 3 is in fact similar but coded as a feature somehow automated all the steps user needs to do manually.
- Imagine you want to make reference to G/F slab/envelope outline - say 2 edges of the square outline in screencapture
- I tried in 1/F Sketch use the Link to External the 2 edges;
- Now you may do the 1/F layout making reference to these edges, but no good due to the Toponaming vulnerability
- What I did was manually create 2 new edges coincident to the Linked Edges
- Now, select the External linked edges and delete them.
- Then, select the new edges, and apply Block Constraints so they do not move; now you have your 'External Linked Edges' for reference. Optionally, make them as Construction Edges.
(Mind you, if you know Block Constraints, it does not absolutely prevent those edges from moving at all - I made a feature request to implement a 'hard' block constraint but not aware of its implementation) - Somehow later, the G/F layout is adjusted and the 2 edges referenced to are shifted, user needs to adjust manually
(e.g. Link to External again, remove the Block constraints, adjust the edges to the revised position, apply the Block constraints again ....)
I describe 3 idea on Toponaming Tolerant feature in the github - https://github.com/paullee0/FreeCAD_Ske ... g-tolerant. Item i was implemented. I found item ii would be better. Anyone interested in coding may try ?
EDIT - With the Toponaming Tolerant capability, this ArchSketch feature (idea 3) is in fact a "Toponaming Tolerant 'version' of Link to External".
- jsolersallent
- Posts: 15
- Joined: Tue Apr 26, 2022 12:55 pm
Re: Archsketch + carbon copy
First of all, thank you for your patience and for providing this information. I will be away for a few days, and when I return, I will review it thoroughly. Thank you again.
- jsolersallent
- Posts: 15
- Joined: Tue Apr 26, 2022 12:55 pm
Re: Archsketch + carbon copy
Well, I think I understood the method. The only problem I see (that's why I wanted to use carbon copy) is when you want to reference edges that are originally constructional and are not visible. In that case, you have to convert them to visible edges in the original Sketch, I suppose.paullee wrote: ↑Fri Jun 09, 2023 12:24 am Maybe I outline the idea/workflow of point 4 first
(It 'works' if not a lot of edges one want to link, otherwise, it may become too tedious)
Point 3 is in fact similar but coded as a feature somehow automated all the steps user needs to do manually.
This look stupid and tedious but it 'circumvent' the TNP. Depends on your workflow and modelling method, hope this helps you somehow. Idea 3 is somehow similar but automated as said but it is not exposed in the version available in git hub. So you may find a lot of edges with Blocked constraints in the Villa Savoye mode.
- Imagine you want to make reference to G/F slab/envelope outline - say 2 edges of the square outline in screencapture
- I tried in 1/F Sketch use the Link to External the 2 edges;
- Now you may do the 1/F layout making reference to these edges, but no good due to the Toponaming vulnerability
- What I did was manually create 2 new edges coincident to the Linked Edges
- Now, select the External linked edges and delete them.
- Then, select the new edges, and apply Block Constraints so they do not move; now you have your 'External Linked Edges' for reference. Optionally, make them as Construction Edges.
(Mind you, if you know Block Constraints, it does not absolutely prevent those edges from moving at all - I made a feature request to implement a 'hard' block constraint but not aware of its implementation)- Somehow later, the G/F layout is adjusted and the 2 edges referenced to are shifted, user needs to adjust manually
(e.g. Link to External again, remove the Block constraints, adjust the edges to the revised position, apply the Block constraints again ....)
I describe 3 idea on Toponaming Tolerant feature in the github - https://github.com/paullee0/FreeCAD_Ske ... g-tolerant. Item i was implemented. I found item ii would be better. Anyone interested in coding may try ?
EDIT - With the Toponaming Tolerant capability, this ArchSketch feature (idea 3) is in fact a "Toponaming Tolerant 'version' of Link to External".
Vil·la Savoye_r2.FCStd
Screenshot from 2023-06-09 07-54-32.png
Screenshot from 2023-06-09 07-54-54.png
Screenshot from 2023-06-09 07-55-58.png
Screenshot from 2023-06-09 07-56-43.png
Screenshot from 2023-06-09 07-56-56.png
Screenshot from 2023-06-09 07-57-08.png
Screenshot from 2023-06-09 07-57-23.png
Regarding the three ideas, lately I've been using Realthunder and it seems to solve all these Topological name issues, is that true? I find that the Sketcher works better than in FreeCAD 0.20.
Re: Archsketch + carbon copy
Thanks @abdullah