How to (easy) fuse a solid/volume (Part_Shape_Refine ?)

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

How to (easy) fuse a solid/volume (Part_Shape_Refine ?)

Post by ragohix769 »

I have the image above with a volume of an house made by me with Draft (is for an energy diagnose). I created a volume, then disassembled, created a face and extruded; in the image is the little cube with a face green. Then I wanted to have a singole volume without the old edges fo the first volume. So as I understand I can use "copy_refine_shape", but it's not working.
I tried with simple copy, a boolean union, fusion, anything, but the edges are always there. At the end I disassebled the volume (draft_downgrade), creating single shells/faces, then redraw the upper face of the roof and down, then re-assembled the solid with the new faces, it's very time consuming and I'd like to know if there is a simple and quick method to fuse objects not remembering the old edges used to create it. I uploaded the demo project. Any suggestion?

Maybe for this kind of things #Topology can do better?
Attachments
demo_volume_01.FCStd
(12.66 KiB) Downloaded 22 times
wepz.jpg
wepz.jpg (166.42 KiB) Viewed 1152 times
Last edited by ragohix769 on Sat May 28, 2022 3:01 am, edited 3 times in total.
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: How to (easy) fuse a solid/volume

Post by paullee »

Read a few time but really not sure what you want :oops:

The object has some invalid shape. Tried to downgrade to faces, and build a shell (hopefully then solid) with Part shapebuilder but fails.

Maybe you just want to use Part Refine to omit some coplanar edges ?





Screenshot from 2022-05-28 08-45-57.png
Screenshot from 2022-05-28 08-45-57.png (195.51 KiB) Viewed 1114 times
Screenshot from 2022-05-28 08-48-19.png
Screenshot from 2022-05-28 08-48-19.png (240.94 KiB) Viewed 1114 times
Screenshot from 2022-05-28 08-50-27.png
Screenshot from 2022-05-28 08-50-27.png (210.38 KiB) Viewed 1114 times
Screenshot from 2022-05-28 08-50-29.png
Screenshot from 2022-05-28 08-50-29.png (225.43 KiB) Viewed 1114 times
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: How to (easy) fuse a solid/volume

Post by ragohix769 »

Ok, let's say better that here the problem it using https://wiki.freecadweb.org/OpenSCAD_Re ... Feature/en (Part_Shape_Refine... that it's a that makes a copy at the end), that it's not working to my volume as you can see. Ok so: how do you find exactly where is the hole, where is the problem with shape or some faces/edges? It's there some test, some method, tips or tricks, to find quickly where is the problem and fix it?

I do a check geometry as you have done the same. He says to me that some shape has some problem. But where?
Attachments
Here is with a downgrade...zero error on shape!
Here is with a downgrade...zero error on shape!
wepz_3.jpg (126.95 KiB) Viewed 1086 times
wepz2.jpg
wepz2.jpg (131.53 KiB) Viewed 1088 times
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: How to (easy) fuse a solid/volume (Part_Shape_Refine ?)

Post by Roy_043 »

Two defects can be detected visually. See image. At the location of the highlighted edge there is another edge, so there must be a gap. And the edge between the selected faces cannot be selected, which may mean that it is behind a face?
Attachments
defects.png
defects.png (7.27 KiB) Viewed 1031 times
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: How to (easy) fuse a solid/volume (Part_Shape_Refine ?)

Post by paullee »

Indeed, it seems there is limited tool to check shape?

Maybe just find a workflow which is less susceptible to problems, I try below-

  1. Create a DWire on the bottom face
  2. Trimex to the required height
  3. Select the sloping top face and use it as the current working plane
  4. Draw a Draft Rectangle over the opposite corners
  5. Extrude the rectangle
  6. Boolean the 2 solids
And got the result solid you want ?



demo_volume_01_r.FCStd
(25.73 KiB) Downloaded 16 times
Screenshot from 2022-05-28 17-48-08.png
Screenshot from 2022-05-28 17-48-08.png (228.6 KiB) Viewed 1016 times
Screenshot from 2022-05-28 17-48-30.png
Screenshot from 2022-05-28 17-48-30.png (185.48 KiB) Viewed 1016 times
Screenshot from 2022-05-28 17-48-46.png
Screenshot from 2022-05-28 17-48-46.png (210.59 KiB) Viewed 1016 times
Screenshot from 2022-05-28 17-49-32.png
Screenshot from 2022-05-28 17-49-32.png (204.38 KiB) Viewed 1016 times
Screenshot from 2022-05-28 17-49-51.png
Screenshot from 2022-05-28 17-49-51.png (228.31 KiB) Viewed 1016 times
Screenshot from 2022-05-28 17-51-10.png
Screenshot from 2022-05-28 17-51-10.png (184.38 KiB) Viewed 1016 times
Screenshot from 2022-05-28 17-51-46.png
Screenshot from 2022-05-28 17-51-46.png (199.37 KiB) Viewed 1016 times
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: How to (easy) fuse a solid/volume (Part_Shape_Refine ?)

Post by paullee »

BTW, in the first place, are you trying to build volume of rooms for a building layout something like this ?
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: How to (easy) fuse a solid/volume (Part_Shape_Refine ?)

Post by ragohix769 »

Roy_043 wrote: Sat May 28, 2022 9:34 am Two defects can be detected visually. See image. At the location of the highlighted edge there is another edge, so there must be a gap. And the edge between the selected faces cannot be selected, which may mean that it is behind a face?
So you suggest a "visual" inspection using strange edges higlighted. Maybe that's a way, but it's not, IMHO, viable for complex works.
I was thinking of a tool like the geometry volume check, to see if a volume it's closed, IE. And where there is an hole, he can highlight the problem on the drawt with a clear graphic suggestion.
paullee wrote: Sat May 28, 2022 10:07 am BTW, in the first place, are you trying to build volume of rooms for a building layout something like this ?
Yes, I'd like to build some "cellcomplex". But I want to do it in Draft to findout volume and surfaces then with the inspection/survey tool. Of course for a BIM process, this should be with more discipline and organized, but just for now I build volume (cellecomplex) of (every) level the house. I think a tool like topologic can be very useful to do that very quickly, If I understand the tool.
paullee wrote: Sat May 28, 2022 10:02 am Indeed, it seems there is limited tool to check shape?

Maybe just find a workflow which is less susceptible to problems, I try below-
[snip]
Thanks a lot for your explication!
But I cannot do the second step, where you created the first extrusion. Anyway, I'll try in different ways to rebuild this volume, let see if I can do a better job.
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: How to (easy) fuse a solid/volume (Part_Shape_Refine ?)

Post by paullee »

ragohix769 wrote: Sun May 29, 2022 12:13 pm Yes, I'd like to build some "cellcomplex". But I want to do it in Draft to findout volume and surfaces then with the inspection/survey tool. Of course for a BIM process, this should be with more discipline and organized, but just for now I build volume (cellecomplex) of (every) level the house. I think a tool like topologic can be very useful to do that very quickly, If I understand the tool.

...

But I cannot do the second step, where you created the first extrusion. Anyway, I'll try in different ways to rebuild this volume, let see if I can do a better job.
You may note Arch Space is working along this concept, though I find there is some limitations / cornercases to overcome, you may try if it already work for your cases maybe.

To find room area / volume, I am stuck somewhere in development with limited time and idea / a better workflow to work on -
[Feature] Drawing Walls = Drawing Rooms Automatically
[Feature] Floor Area Calculation + Room Dimension
[ArchSketch Workflow] - Creating ArchWall + CellComplex on 1 ArchSketch
Hope there are developers to add features architects wanted :D

For 2nd step, you may just just Part Extrude, in lieu of Draft TrimEx.
Post Reply