Revolve a selected sketch tool sometime make mistake in part design workbench.

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
leobin0
Posts: 46
Joined: Tue Jun 08, 2021 3:48 pm

Re: Revolve a selected sketch tool sometime make mistake in part design workbench.

Post by leobin0 »

maybe i found the key of this mistake.
groove tool maybe can not deal with removing(or delete) a place twice.

do these steps.
first , create a new body and create a new sketch in xy plane, draw a rectangle which has same position like my previous picture.
second, close the sketch and pad it with default height. and click 'ok'.
third, click the top face of cube to select, and click 'groove a selected sketch' tool.
next, in the preview window, click x axis to select. click 'ok', the cube itself will almost all cut by the top face.

it is wrong, because it should leave more.
in my picture, the right line of top face will remove the place in circle 1 and circle 3.
the left line of top face will remove the place in circle 2 and circle 3.
so the place in circle 2 and circle 3 was removed twice.
maybe this situation not well in program.
But at least groove tool is wrong in this case.
it gives me wrong result.
i don't know if it is the mistake of OCC.
Attachments
Snipaste_2021-08-30_20-33-21.png
Snipaste_2021-08-30_20-33-21.png (50.41 KiB) Viewed 1991 times
Snipaste_2021-08-30_20-47-32.png
Snipaste_2021-08-30_20-47-32.png (75.05 KiB) Viewed 1991 times
Snipaste_2021-08-30_21-01-39.png
Snipaste_2021-08-30_21-01-39.png (57.71 KiB) Viewed 1991 times
leobin0
Posts: 46
Joined: Tue Jun 08, 2021 3:48 pm

Re: Revolve a selected sketch tool sometime make mistake in part design workbench.

Post by leobin0 »

another picture shows the theory.
Attachments
2021-08-30_210438.png
2021-08-30_210438.png (87.73 KiB) Viewed 1979 times
leobin0
Posts: 46
Joined: Tue Jun 08, 2021 3:48 pm

Re: Revolve a selected sketch tool sometime make mistake in part design workbench.

Post by leobin0 »

we should talk with person of the company who program OCC.
check this mistake .
if it is the mistake of OCC, can we post the situation to proficient of OCC.
chrisb
Veteran
Posts: 53939
Joined: Tue Mar 17, 2015 9:14 am

Re: Revolve a selected sketch tool sometime make mistake in part design workbench.

Post by chrisb »

I'm not sure it's an OCC issue, because it has been tested on master and works correctly there.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
leobin0
Posts: 46
Joined: Tue Jun 08, 2021 3:48 pm

Re: Revolve a selected sketch tool sometime make mistake in part design workbench.

Post by leobin0 »

i did a test in latest master version, it has problem more.
create a cube ,and select the top face. use revolve tool.
in the Revolve tool, i select x axis, it shows nothing.even after i click ok.
maybe the master version also have this problem.
need more test.

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.25566 (Git)
Build type: Release
Branch: master
Hash: 8c361dd3fc83840a911da950a845eb9f9342a0b6
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: Chinese/China (zh_CN)
chrisb
Veteran
Posts: 53939
Joined: Tue Mar 17, 2015 9:14 am

Re: Revolve a selected sketch tool sometime make mistake in part design workbench.

Post by chrisb »

Upload the file.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
leobin0
Posts: 46
Joined: Tue Jun 08, 2021 3:48 pm

Re: Revolve a selected sketch tool sometime make mistake in part design workbench.

Post by leobin0 »

just create a cube, select the top face and click revolve tool.
the default axis is y axis, work well.
change the axis to x axis, then mistake shows.
Attachments
mistak2.gif
mistak2.gif (387.96 KiB) Viewed 1884 times
leobin0
Posts: 46
Joined: Tue Jun 08, 2021 3:48 pm

Re: Revolve a selected sketch tool sometime make mistake in part design workbench.

Post by leobin0 »

top face of cube revolve with y axis theory.
Attachments
Snipaste_2021-08-31_13-37-19.png
Snipaste_2021-08-31_13-37-19.png (105.5 KiB) Viewed 1853 times
Last edited by leobin0 on Tue Aug 31, 2021 5:37 am, edited 2 times in total.
leobin0
Posts: 46
Joined: Tue Jun 08, 2021 3:48 pm

Re: Revolve a selected sketch tool sometime make mistake in part design workbench.

Post by leobin0 »

top face of cube revolve with x axis theory.
Attachments
Snipaste_2021-08-31_11-40-29.png
Snipaste_2021-08-31_11-40-29.png (79.02 KiB) Viewed 1875 times
leobin0
Posts: 46
Joined: Tue Jun 08, 2021 3:48 pm

Re: Revolve a selected sketch tool sometime make mistake in part design workbench.

Post by leobin0 »

top face of cube revolve with y axis theory.

xais means axis .
i spell it wrong.
Attachments
Snipaste_2021-08-31_13-48-04.png
Snipaste_2021-08-31_13-48-04.png (92.08 KiB) Viewed 1851 times
Post Reply