Lorenz

Results 115 comments of Lorenz

I accidently hit `Shift-Escape` sometimes when I am already out of vim mode. This opens the Chrome Task Manager and then one time I also went on to trigger End...

Strange, OCCT Draw shows "Could not read file BROKEN_FILE.step , abandon" this corresponds to `readstat != IFSelect_RetDone`. I also tried with C++ and again `ReadFile` returns `IFSelect_RetError` (tested on OCCT...

I can reproduce the crash on linux with CQ and 7.7.2. OCCT Draw does not crash; it does report ERR messages in the output (7.7.2): ``` Reduced model for translation...

@adam-urbanczyk I found the messages can be extracted using `Message_PrinterToReport`. ```py import io from OCP.Message import Message, Message_Gravity, Message_PrinterToReport from OCP.STEPControl import STEPControl_Reader msger = Message.DefaultMessenger_s() newprinter = Message_PrinterToReport() report...

I get the same stacktrace in C++ and Draw with ```cpp OSD::SetSignal(OSD_SignalMode_Unset, Standard_False); ``` No crash with ```OSD::SetSignal();``` In Draw, default is set here: https://github.com/Open-Cascade-SAS/OCCT/blob/cec1ecd0c9f3b3d2572c47035d11949e8dfa85e2/src/Draw/Draw_BasicCommands.cxx#L1004

I opened an OCCT issue https://tracker.dev.opencascade.org/view.php?id=33603 @qbamca Can you also share the unmodified STEP file? Probably not useful but could see the diff.

@adam-urbanczyk Pending a fix in OCCT itself, yes it would be possible to mitigate the issue in CQ by conditionally aborting `importStep` based on monitoring the `Message_Info` level alerts. The...

@dpasukhi Thank you for your inputs! @adam-urbanczyk Since crashes are expected to be rare perhaps CQ can separate the `STEPControl_Reader().ReadFile()` part of `importStep` and let the user implement a safer...

In `left_tubes` you have tagged two vertices. You can check the selection with.: ```left_tubes.vertices(tag="bottom_left").vals()``` To fix it select a single vertex for the Point constraint. Change the selector from ```.vertices("

The import_stl script worked for me after splitting the original mesh (https://github.com/JustinSDK/cqMore/issues/7). ```py # numpy-stl 2.16 or later is required. from stl.mesh import Mesh from cqmore import Workplane def import_stl(fileName):...