Lattice new feature pack: subsequencing and TopoSeries

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Lattice new feature pack: subsequencing and TopoSeries

Post by triplus »

Yes it looks like you are a bit rusty when it comes to FreeCAD development. You will need to practice more. ;) As for TopoSeries after enabling Recomputing -> FreeCAD crash.

As for flipping geometry do you by any chance know if you could use different solver? As when in sketcher edit mode user has control over it and i always wondered what is the situation from "the outside".
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Lattice new feature pack: subsequencing and TopoSeries

Post by DeepSOIC »

triplus wrote:As for TopoSeries after enabling Recomputing -> FreeCAD crash.
I'm afraid that crash is the same crash that was happening with ParaSeries. I can't fix it with python (yet), and in windows release build it doesn't happen (FreeCAD catches most crashes there).

Sounds like good idea to hide 'Recomputing' property, and allow only manual recomputing of Para/TopoSeries with RecmputeFeature button... Gonna get busy with that. Then, maybe, try fixing the actual crash, instead of working around it.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Lattice new feature pack: subsequencing and TopoSeries

Post by triplus »

DeepSOIC wrote:Then, maybe, try fixing the actual crash, instead of working around it.
Sounds sensible. :)
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Lattice new feature pack: subsequencing and TopoSeries

Post by DeepSOIC »

triplus wrote:This is what i get now:
AttachedArray2.png
Works fine here:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9677 (Git)
Build type: Debug
Branch: (HEAD detached at FC/master)
Hash: c0ec75eb5a9dc5a4f70012864da6b30e7f17d54d
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0

So you are probably not using the tool correctly. Here's how to:
1. Create a single Attached Placement, attach it to an array of shapes.
2. Select the new placement, and invoke "Array an attached placement".
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Lattice new feature pack: subsequencing and TopoSeries

Post by triplus »

DeepSOIC wrote:So you are probably not using the tool correctly. Here's how to:
1. Create a single Attached Placement, attach it to an array of shapes.
2. Select the new placement, and invoke "Array an attached placement".
D'oh!
AttachedArray3.png
AttachedArray3.png (16.79 KiB) Viewed 1439 times
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Lattice new feature pack: subsequencing and TopoSeries

Post by DeepSOIC »

triplus wrote: As for TopoSeries after enabling Recomputing -> FreeCAD crash.
Can you confirm that the crash still happens in more-or-less recent FreeCAD? I can't seem to trigger it anymore.

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11027 (Git)
Build type: Debug
Branch: (HEAD detached at realthunder/Link)
Hash: 1476b4b4223626681b201dfcce668dbf53cb0a86
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Lattice new feature pack: subsequencing and TopoSeries

Post by triplus »

DeepSOIC wrote:
triplus wrote: As for TopoSeries after enabling Recomputing -> FreeCAD crash.
Can you confirm that the crash still happens in more-or-less recent FreeCAD? I can't seem to trigger it anymore.
Following the procedure still yields in crash for me on Ubuntu 16.04 + Daily PPA.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Lattice new feature pack: subsequencing and TopoSeries

Post by DeepSOIC »

triplus wrote:Following the procedure still yields in crash for me on Ubuntu 16.04 + Daily PPA.
Thanks, can you also collect a stack trace?
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Lattice new feature pack: subsequencing and TopoSeries

Post by triplus »

Tomorrow.

P.S. Note that on Qt 5 build (Debug build) it doesn't crash for me. You are likely using Debug build in your test?
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Lattice new feature pack: subsequencing and TopoSeries

Post by DeepSOIC »

triplus wrote:You are likely using Debug build in your test?
I tried both. Release build never crashed on me, instead I got a log message that an unknown C++ exception was caught. But it did crash in debug build (it was paraseries, not toposeries), it was somewhere around 0.16pre, I think. Now I can't get either problem to happen.
Post Reply