engine_web-ifc icon indicating copy to clipboard operation
engine_web-ifc copied to clipboard

[Bug]: If a circle segment has not a full radius, the rendering is not correct

Open hellghostx opened this issue 3 years ago • 6 comments

What happened?

I have a model, which has circle segments. After a testing I was able to change some parts of the model through CIRCLE_SEGMENTS_HIGH of LoaderSettings.

Sadly other parts are not changing and it seems in code that CIRCLE_SEGMENTS_LOW and MEDIUM are not changing anything.

Model is not mine but of a customer, so I can send it only privately to dev for development purposes only.

Version

0.0.39

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Anything else?

Here are pictures with segments low/medium/high:

256/256/12: obrazek 5/8/12 (default): obrazek 5/8/256: obrazek

hellghostx avatar Mar 17 '23 13:03 hellghostx

So this was an inadvertent change by me currently only circle segments high is being used. Was there value to you in being able to change them independently?

beachtom avatar Mar 17 '23 15:03 beachtom

@beachtom Thank you for clarification. There are parts of the model which are not reacting to the circulation ratio so my first idea was that it is due to the LOW,MEDIUM segments. You can see them at the last picture.

However there is a lot of console output when model is parsed via web-ifc so it might be the problem with parsing, but one can never eliminate the possible problem with the model itself.

hellghostx avatar Mar 20 '23 09:03 hellghostx

@beachtom We have another topic regarding circle segments (see attached IFC). If a circle segment has not a full radius, the rendering is not correct. The number of segments doesn't solve the problem, but based on this settings the result is different.

Current result (with the latest version): image

Expected result: image

Segments.zip

Do you have any idea to improve this behavior? Thanks for your support!

pbbr avatar Mar 25 '23 11:03 pbbr

ok thanks - definitely not related to the first but will look into it

beachtom avatar Mar 25 '23 11:03 beachtom

Neatened up all the setting values - issue with incomplete circles still open

beachtom avatar Apr 26 '23 15:04 beachtom

image

Seems that the issue has been inadvertently solved.

QuimMoya avatar Jun 01 '23 08:06 QuimMoya