Self centre a primitive to a Datum Plane

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!
cram
Posts: 228
Joined: Mon Dec 05, 2016 5:11 am
Location: Australia

Self centre a primitive to a Datum Plane

Post by cram »

Trying to get my head around datum planes. I have created two one normal and is positioned along the mid point of the cylinder, the centred along the axis of origin of the cylinder circumference.
I am trying to use a subtractive primitive to remove a section of the cylinder based on these two datum plane however the result if not what I am expecting and appears to remove the whole cylinder, not just a 100mm section using the 100mm subrtractive cube used.


OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13509 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 0258808ccb6ba3bd5ea9312f79cd023f1a8671b7
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/Australia (en_AU)
Attachments
datum_use3.png
datum_use3.png (131.59 KiB) Viewed 1870 times
datum_use1.png
datum_use1.png (244.08 KiB) Viewed 1873 times
datum_use.png
datum_use.png (180.44 KiB) Viewed 1873 times
datum_use.FCStd
(11.14 KiB) Downloaded 67 times
chrisb
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Self centre a primitive to a Datum Plane

Post by chrisb »

I have problems editing/viewing your model, exact analysis has to follow. Here my guess:

The subtracitive box has no connection to the DatumPlanes, so you don't need them.
The box cuts a piece in the middle of your pad, which would yield two solids. This is not allowed in PartDesign, so one of them is suppressed.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
cram
Posts: 228
Joined: Mon Dec 05, 2016 5:11 am
Location: Australia

Re: Self centre a primitive to a Datum Plane

Post by cram »

chrisb wrote: Sun Apr 22, 2018 9:36 am I have problems editing/viewing your model, exact analysis has to follow. Here my guess:

The subtracitive box has no connection to the DatumPlanes, so you don't need them.
The box cuts a piece in the middle of your pad, which would yield two solids. This is not allowed in PartDesign, so one of them is suppressed.
"The box cuts a piece in the middle of your pad, which would yield two solids. This is not allowed in PartDesign, so one of them is suppressed."

I think this may be my problem. I did not know that PartDesign doesn't allow two solids

I'm a little unsure what you mean by "The subtracitive box has no connection to the DatumPlanes, so you don't need them."
When I created the subrtactive box I chose to use attachment to DatumPlane and DatumPlane001?
chrisb
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Self centre a primitive to a Datum Plane

Post by chrisb »

cram wrote: Sun Apr 22, 2018 11:07 am I'm a little unsure what you mean by "The subtracitive box has no connection to the DatumPlanes, so you don't need them."
When I created the subrtactive box I chose to use attachment to DatumPlane and DatumPlane001?
Ok, I see. I had problems with viewing the details of your file and still have them when I try to change something.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Self centre a primitive to a Datum Plane

Post by DeepSOIC »

chrisb wrote: Sun Apr 22, 2018 11:21 am had problems with viewing the details of your file
I have them too.

There is something horrily broken about Box:

Code: Select all

>>> App.ActiveDocument.Box.Placement
Placement [Pos=(-2.5e+099,-5e+099,-2.5e+099), Yaw-Pitch-Roll=(153.435,-3.18055e-015,65.9052)]
It is placed in the infinity. How does it happen, I wonder...

EDIT: Ah, I see how. It happens when you use Inertial CS attachment on datum plane. Datum plane is internally infinite, and this bogus result is the outcome.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Self centre a primitive to a Datum Plane

Post by DeepSOIC »

User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Self centre a primitive to a Datum Plane

Post by NormandC »

Hello cram,

cram wrote: Sun Apr 22, 2018 8:42 am Version: 0.17.13509 (Git)
A few nasty bugs crept up in the initial 0.17 release, they have been fixed, so I recommend you download and install the latest version 0.17.13515.

Download
cram
Posts: 228
Joined: Mon Dec 05, 2016 5:11 am
Location: Australia

Re: Self centre a primitive to a Datum Plane

Post by cram »

NormandC wrote: Sun Apr 22, 2018 5:13 pm Hello cram,

cram wrote: Sun Apr 22, 2018 8:42 am Version: 0.17.13509 (Git)
A few nasty bugs crept up in the initial 0.17 release, they have been fixed, so I recommend you download and install the latest version 0.17.13515.

Download
Ok NormanC , thank you will do so.
alberich
Posts: 77
Joined: Thu Aug 17, 2017 2:09 pm
Location: Texas

Re: Self centre a primitive to a Datum Plane

Post by alberich »

NormandC wrote: Sun Apr 22, 2018 5:13 pm Hello cram,

cram wrote: Sun Apr 22, 2018 8:42 am Version: 0.17.13509 (Git)
A few nasty bugs crept up in the initial 0.17 release, they have been fixed, so I recommend you download and install the latest version 0.17.13515.

Download
The Download page refers to 0.17.13519. Also, the linux appimage is still at .13509. Is that correct?
chrisb
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Self centre a primitive to a Datum Plane

Post by chrisb »

alberich wrote: Wed Apr 25, 2018 9:51 am The Download page refers to 0.17.13519. Also, the linux appimage is still at .13509. Is that correct?
Both are correct. Three days ago Normand was correct as well.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply