My Arch Project : 17x9m Renovation Heightening

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: My Arch Project : 17x9m Renovation Heightening

Post by yorik »

Hm yes but the occ way to do that is to add a "rounded" filling, but I'd prefer to have clean, straight intersections. Actually maybe OCC offers an option for that, I'll investigate...
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: My Arch Project : 17x9m Renovation Heightening

Post by jmaustpc »

yorik wrote:Hm yes but the occ way to do that is to add a "rounded" filling, but I'd prefer to have clean, straight intersections. Actually maybe OCC offers an option for that, I'll investigate...
Yes, good point Yorik, like occ does with the sweep along a wire, which if I remember correctly Werner implemented in the Part workbench sweep.

The intersection property for offset works in a similar way, default is the Arc. In this example I left the defualt Arc, and tangent causes a fail, but "intersection" is what you want if you want the roof pointed.

Jim
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: My Arch Project : 17x9m Renovation Heightening

Post by jmaustpc »

roof1.png
roof1.png (21.98 KiB) Viewed 3192 times
roof2.png
roof2.png (2.76 KiB) Viewed 3192 times
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: My Arch Project : 17x9m Renovation Heightening

Post by yorik »

Perfect!
User avatar
rockn
Veteran
Posts: 1791
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

Re: My Arch Project : 17x9m Renovation Heightening

Post by rockn »

I can't open my file !
I get his with yorik/FreeCAD github, the main FreeCAD/FreeCAD sf master github and the daily ppa...
:(

Code: Select all

[100%] Built target PartDesignGui
jo@jo-desktop:~/BEBois/Dev/Git/FreeCAD_yorik/build$ ./bin/FreeCAD
FreeCAD 0.14, Libs: 0.14R3139 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##


(FreeCAD:23756): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Arch workbench activated
Support shape is empty!
Support shape is empty!
Support shape is empty!
Support shape is empty!
typecheck[scaleTo]: 210 mm is not (<type 'int'>, <type 'long'>, <type 'float'>)
Traceback (most recent call last):
  File "/home/jo/BEBois/Dev/Git/FreeCAD_yorik/build/Mod/Arch/ArchWall.py", line 451, in execute
    sh = self.getBase(obj,wire,normal,width,height)
  File "/home/jo/BEBois/Dev/Git/FreeCAD_yorik/build/Mod/Arch/ArchWall.py", line 552, in getBase
    dvec2 = DraftVecUtils.scaleTo(dvec,obj.Offset)
  File "/home/jo/BEBois/Dev/Git/FreeCAD_yorik/build/Mod/Draft/DraftVecUtils.py", line 83, in scaleTo
    typecheck ([(u,Vector),(l,(int,long,float))], "scaleTo")
  File "/home/jo/BEBois/Dev/Git/FreeCAD_yorik/build/Mod/Draft/DraftVecUtils.py", line 41, in typecheck
    raise TypeError("fcvec." + str(name))
<type 'exceptions.TypeError'>: fcvec.scaleTo
Enduit: fcvec.scaleTo
It's the same withFreeCAD_sf
Formations - Assistance - Développement : https://freecad-france.com
User avatar
shoogen
Veteran
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: My Arch Project : 17x9m Renovation Heightening

Post by shoogen »

Offset seems to be a LengthProperty and those were broken yesterday.
Post Reply