Hi Everyone
I am trying to project curves or points on surface based on surface plan.
please advice .
Best regards
Surface Projection.gh (17.1 KB)
Hi Everyone
I am trying to project curves or points on surface based on surface plan.
please advice .
Best regards
hey i hope this does to job one solution for projection on the surface it self other and one for planes
Surface Projection.gh (37.2 KB)
Hi Pejo.
Thanks very much for your help but my goal is a bit diferent here. While projecting the point or curve that should be slightly off axis due to slope of the oneâs below. Its like a sticker taken of the ground and stick it under sloped slab. see image below for better understating. Many Thanks
i am still not sure if i understood you correctly but do you want to achoive this?
otherwise an elevation of the angles and slopes you are aiming for probably would be helpfull
-cheers
Surface Projection.gh (55.3 KB)
HI @Pejo Thanks Very much for your help and really appriciate. i will check and see if it will solve the issue but just for clarity is the squares shown at bottom are base plates of Railing post and the surface shown at top where i need projection is Barrier Top. when directly projected by Z (depends on hight from zero) the plates shifting away slightly of the line due to fall slope of barrier top surface.So it bit tricky since last some days i am looking/searching and watching youtube videos to get a solution to how to project/Orient/Wrap the plates on top surface of barriers. while their slope distance maintained by their center to center then distance at plan. I want to maintain the plan spacing on surface slope.
I hope you understood my intentions. See image.
Again Thanks very much for time.
@mainisl2 maybe youâre looking for the sporph? Similar to @Pejo Iâm not 100% sure I follow, however since you mention âorient/wrapâ my first thought was doing it via sporph:
Surface Projection.gh (24.5 KB)
Also I had no clue what this meant, lol - my bad for popping into this topic none of my business
Hi @René_Corella Thanks alot for help.
sure its good to discuss. as the dot reflected on above image is like what you look at from top while see a bit slip of axis. see image for clarity below.
Blue is correct values but above Red are wrong. should be similar to the Blue while going on slope.
Ohh. i have not checked this way but was looking at Plan comparing both lower and top curves to see if the top one was slightly shifted to make a difference due to slope.
Thanks very much @René_Corella @Pejo for your time and help and really appreciate.
Best Regards.
M.I
just to make sure what shall be achived i wrote a new script based on a single curve - if this is the geometry/rule you are aiming for we can transfer it to your input curves and surfaces
Surface Projection.gh (93.1 KB)
would recommend moving your geo closer to the origin. do you try to achive this with lines perpendicular to the top surfaces?
HI @Pejo its not working with that way. due to slope.
If I got it correctly:
You have a flat Rail (i.e. a Curve in general) where ordered Geometry is placed (pair [orig to orig] distances - along the Rail - may or may not be the same).
You have a Surface where you project your Rail as projRail.
Starting, say from Geometry orig index 0 you want all the new Geo pairs along the projRail to have the same distance as in the Rail.
Up to that point itâs rather very easy. The question is: what sort of Transformation (usualy Plane To Plane) you want to use?
@PeterFotiadis Thanks for details. you got it right.
I have modeled Precast panels and want to move/Orient it along the curve at top as shown below.
@martinsiegrist Did helped earlier for modeling at top curve in best way but Rail post were later modeling issues there so i prefer to use simple method to model on zero and move it onto it positon as i explaind.
Thanks very much.
Deck.gh (28.4 KB)
OK Iâll be back but right now is the Mexican F1 Q3 (forza Lewis).
So in fact you donât want to project any Geomery: You have a Rail, and points (as Geom orig pts - be the Geom an Instance Definition, a Brep, a Cat, a Dog etc etc) . Then you want pts along the projected Rail (at distances as exposed above)⊠and new Geometries using some Transformation.
Since I always solve something having the general case in mind (any Rail, any valid Surface) Iâm asking again: what sort of Transformation you want? For instance and if you know what a Cross Product is ⊠describe the desired target Plane definition (or make a sketch having ANY Rail and ANY Surface in mind).
Plus ⊠well ⊠in real life thereâs many other things to consider: for instance:
So thatâs (general case) may be a mini MOO problem (not a big deal, mind).
Hey @mainisl2,
Iâm no longer making efforts to understand whatâs going on in terms of the goal(s) because thatâs less fun - 'seems youâve had to continuously re-explain - I think you could have started with more clarity from the start with your images. Anyway, as Peter points out youâve never really wanted to project, and before he comes back from the races with some magic code, I looked at your stuff again (sorry) and notice some issues.
Check this (if you want to) to see if it helps with the orienting problems: