Search found 13 matches

by comlich
Tue Jul 04, 2023 9:54 am
Forum: Help on using FreeCAD
Topic: Alignment, then everything disappeared
Replies: 17
Views: 2599

Re: Alignment, then everything disappeared

I changed camera settings to correct values but it was fruitless. I finally realized that there were four boxes whose Y positions were defined with formulas that evaluate the root square of.... negative numbers, the Y positions were therefore nan values . I then fixed the formulas and everything wen...
by comlich
Mon Jul 03, 2023 9:15 am
Forum: Help on using FreeCAD
Topic: Alignment, then everything disappeared
Replies: 17
Views: 2599

Re: Alignment, then everything disappeared

are you using a microsoft graphics driver or the one from the manufacturer of the graphics card? Here is what I see in device manager: Capture.PNG "Cartes graphiques" means graphic cards. I don't know how I should understand that information. I checked the drivers for both and they both f...
by comlich
Mon Jul 03, 2023 8:41 am
Forum: Help on using FreeCAD
Topic: Alignment, then everything disappeared
Replies: 17
Views: 2599

Re: Alignment, then everything disappeared

thomas-neemann : I'm using FreeCAD 0.20 on a Windows 10 PC jeno : as instructed in the link you sent I was able to locate the GuiDocument.xml file and here is what I found regarding the camera settings: <Camera settings="OrthographicCamera {&#10; viewportMapping ADJUST_CAMERA&#10; posi...
by comlich
Sun Jul 02, 2023 10:28 pm
Forum: Help on using FreeCAD
Topic: Alignment, then everything disappeared
Replies: 17
Views: 2599

Re: Alignment, then everything disappeared

Thanks @chrisb for your reply. I just tried your solution but it made the situation worse: everything disappears and the viewport freezes, no way to rotate or zoom
by comlich
Sun Jul 02, 2023 9:49 pm
Forum: Help on using FreeCAD
Topic: Alignment, then everything disappeared
Replies: 17
Views: 2599

Re: Alignment, then everything disappeared

Hello everybody, I am running into quite a similar issue. It is not that everything disappeared, but I don't see about half to all the objects in the viewport depending on the view angle. In some view angles everything disappeared while when I rotate to others only parts of the objects are visible. ...
by comlich
Fri Jul 22, 2022 9:55 pm
Forum: Python scripting and macros
Topic: [SOLVED] nearestFacetOnRay no taking into account vector orientation
Replies: 20
Views: 2804

Re: [SOLVED] nearestFacetOnRay no taking into account vector orientation

Were the foraminate function to consider semi-infinite rays (that is, rays that originate from a point towards the direction indicated by a vector), neither of the situations described in the figure would yield intersection points. What I understand is that foraminate considers any ray as infinite r...
by comlich
Fri Jul 22, 2022 6:07 pm
Forum: Python scripting and macros
Topic: [SOLVED] nearestFacetOnRay no taking into account vector orientation
Replies: 20
Views: 2804

Re: [SOLVED] nearestFacetOnRay no taking into account vector orientation

Hello, Thank you very much wmayer for your so instructive reply. I did implement the filtering work-around solution you sent and it did work. However, that let me realize a behavior of the foraminate function that can be undesirable to some (including me, especially in the problem I am dealing with ...
by comlich
Fri Jul 15, 2022 10:41 am
Forum: Python scripting and macros
Topic: [SOLVED] nearestFacetOnRay no taking into account vector orientation
Replies: 20
Views: 2804

Re: nearestFacetOnRay no taking into account vector orientation

Thank you Carlo for your reply. Indeed, as shown in the quote below, wmayer did alter the Mesh.nearestFacetOnRay method, a change that is already available in the latest release of FreeCAD. a6f0f69ed6 With import math val1 = myMesh.nearestFacetOnRay((0.75, 0.25, 0.1), (0.0, +1.0, 0.0), math.pi/2) va...
by comlich
Wed Jul 13, 2022 1:17 pm
Forum: Python scripting and macros
Topic: [SOLVED] nearestFacetOnRay no taking into account vector orientation
Replies: 20
Views: 2804

Re: nearestFacetOnRay no taking into account vector orientation

Dear all, While this issue is "SOLVED", I am actually interested in something similar that can be solved by the workaround given by wmayer . I am interested in the Mesh.foraminate function, which in the official release of FreeCAD does only accept two parameters: an origin point and the di...
by comlich
Tue Sep 28, 2021 1:30 pm
Forum: Python scripting and macros
Topic: PySide - Detecting change in an object (a body)
Replies: 10
Views: 2891

Re: PySide - Detecting change in an object (a body)

Hi! I understand now that I wasn't looking at the right documentObserver class. I updated the way you mentioned in your example and indeed everything worked fine now. Thank you very much for your help and for your explanations. My problem is solved. Please, I have one little question though, it is o...