Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewer: CutPlane: Include cut-plane in share link #153

Closed
4 tasks done
pablo-mayrgundter opened this issue Mar 16, 2022 · 6 comments
Closed
4 tasks done

Viewer: CutPlane: Include cut-plane in share link #153

pablo-mayrgundter opened this issue Mar 16, 2022 · 6 comments
Assignees

Comments

@pablo-mayrgundter
Copy link
Member

pablo-mayrgundter commented Mar 16, 2022

e.g.:
https://bldrs.ai/share/v/gh/jlph92/IfcObjUnity/main/Assets/Ifc%20Sample/Bridges/KIT-Bridge.ifc/1/24#c:42.14,19.82,52.23,-1.23,-5.42,9.1

image

  • UI component menu
  • ifc viewer logic
  • url logic
  • test
@OlegMoshkovich
Copy link
Member

image

Creating from the normal and coplanar points is the method we can use since this method is taking in parameters. Tryin to figure out how to obtain normal and a point form selected element.

@OlegMoshkovich
Copy link
Member

OlegMoshkovich commented Aug 6, 2022

trying to pass in these parameters.
v.clipper.createFromNormalAndCoplanarPoint({x: -0, y: -0, z: -1}, {x: -48.462753086897266, y: 17.024952582756676, z: 0}, false)

it is currently failing.
image

@pablo-mayrgundter can you please take a look when you have a moment?
There are several questions

  1. how to obtain a point - I am assuming we would want to use a nearby element mesh
  2. should the normal be specified by the selected element as well - or input through UI element

there is a guy on ifc.js discord who succeeded in this.
I sent him a message

image

@OlegMoshkovich
Copy link
Member

@pablo-mayrgundter
Copy link
Member Author

@mkeshavarzi fyi

@OlegMoshkovich
Copy link
Member

Feature Request.

@OlegMoshkovich OlegMoshkovich changed the title Include cut-plane in share link Viewer: CutPlane: Include cut-plane in share link Aug 23, 2022
@oogali oogali removed the requirement label Sep 6, 2022
@MarkusSteinbrecher
Copy link
Contributor

it works but only with the predefined cut-plane positions. If I move the cut-plane that is not included in the permalink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: No status
Status: Closed Issues
Development

No branches or pull requests

4 participants