Drawing of a cross section?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
User avatar
Maavhamt
Posts: 92
Joined: Thu Jun 11, 2015 10:08 am

Drawing of a cross section?

Post by Maavhamt »

Hi,

Is there a way of creating a drawing of the internal view of the cross section of a solid? I've found a Section plane tool in Arch which I can put where I want it but I can't work out how to project the cross section onto a drawing. I need to show the detail for a manifold mount solenoid valve.

The FreeCad file is too big to load onto the forum, it's in Dropbox: https://www.dropbox.com/s/7749n6iugptss ... FCStd?dl=0

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6703 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: 2ce5c8d2e3020d05005ed71f710e09e9aa561f40
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Attachments
Detail.PNG
Detail.PNG (92.39 KiB) Viewed 3766 times
Maavhamt
[/size]
User avatar
r-frank
Veteran
Posts: 2180
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: Drawing of a cross section?

Post by r-frank »

Hello.

See here for an example project.

The idea is to use the draft facebinder object ...

Roland
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
User avatar
Maavhamt
Posts: 92
Joined: Thu Jun 11, 2015 10:08 am

Re: Drawing of a cross section?

Post by Maavhamt »

Thanks but sorry I don't understand. I've tried using the facebinder tool but I can't project from that onto a drawing, nothing appears on the page. Also I don't understand what a "helper cut" is.
Maavhamt
[/size]
User avatar
r-frank
Veteran
Posts: 2180
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: Drawing of a cross section?

Post by r-frank »

Helper cut is the grey object needed for the boolean cut.

Perhaps looking at this tutorial (with german audio) will give you an idea for the needed workflow.
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
mario52
Veteran
Posts: 4674
Joined: Wed May 16, 2012 2:13 pm

Re: Drawing of a cross section?

Post by mario52 »

hi
try this macro Macro cross section

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
User avatar
easyw-fc
Veteran
Posts: 3630
Joined: Thu Jul 09, 2015 9:34 am

Re: Drawing of a cross section?

Post by easyw-fc »

mario52 wrote:hi
try this macro Macro cross section

mario
Hi Mario, very nice macro!
Is there a way to create a macro with the following behavior?
section-occ-assistant (1).png
section-occ-assistant (1).png (105.38 KiB) Viewed 3664 times
section-occ-assistant (2).png
section-occ-assistant (2).png (106.94 KiB) Viewed 3664 times
these screenshots have been captured by OCC Assistant for Android...
the section view can be applied and moved visually very fast and the model get a live colored section view...
It doesn't apply any cut to the model, but it can be used to inspect the model section dynamically ...
here for reference the app
https://play.google.com/store/apps/deta ... tant&hl=en
Maurice
User avatar
r-frank
Veteran
Posts: 2180
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: Drawing of a cross section?

Post by r-frank »

Maurice, please stop hijacking this thread and start a new one with your feature request ...
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
User avatar
easyw-fc
Veteran
Posts: 3630
Joined: Thu Jul 09, 2015 9:34 am

Re: Drawing of a cross section?

Post by easyw-fc »

r-frank wrote:Maurice, please stop hijacking this thread and start a new one with your feature request ...
:shock: :? hmm the thread is about cross section ... the macro is about cross section and I'm just asking for an extension of the macro behavior to view dynamically a cross section... I can start a new topic, but I really consider this related to this topic
M
mario52
Veteran
Posts: 4674
Joined: Wed May 16, 2012 2:13 pm

Re: Drawing of a cross section?

Post by mario52 »

hi
@easyw-fc

yes view dynamically a cross section check "Cut object" and enjoy (the original macro by aleph0 Macro_cross_section and yes very nice macro!)

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Drawing of a cross section?

Post by renatorivo »

Hi,
easyw-fc wrote: r-frank wrote:
Maurice, please stop hijacking this thread and start a new one with your feature request ...


:shock: :? hmm the thread is about cross section ... the macro is about cross section and I'm just asking for an extension of the macro behavior to view dynamically a cross section... I can start a new topic, but I really consider this related to this topic
Have a good title of the subject helps in research, to see if the topic has already been treated.
In this case, the initial argument is "Cross section", but now it is also "CAD Assistant". However, if someone searches for "CAD Assistant" this topic does not appear.
A new topic with a subject "CAD Assistant, Cross section" would immediately find this discussion.
Renato

EDIT
For me it is not a problem, but you yourself say:
I consider a pity because in a language subforum will have less visibility...
viewtopic.php?f=28&t=15084&start=10
Post Reply