SketchUcation Premium Membership

 

 

mini-challenge

General discussion related to SketchUp. No off topic threads please.

Re: mini-challenge

Postby TIG » Wed May 02, 2012 4:58 pm

VERY clever Pilou !
Bravo to you too.

Here's my slight reworking of your brilliant ideas, with some explanatory notes.
I think this way is a little simpler and easier to see what's happening.
:fro:
Please, register (free) to access all the attachments on the forums.
TIG
User avatar
TIG
Global Moderator
 
Posts: 14007
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mini-challenge

Postby pbacot » Wed May 02, 2012 5:24 pm

In the example, why push pull up on the face? The whole point seems to be to find Point 'B'. (diagram THAT clause :P )

Maybe this is beyond my maths. True: the center cut line in the first picture does describe the center of the final board, call it point 'X'. B is a right angle from 'X' but it's a right angle from the board's diagonal, not from the final axis of the board. Still it lies on the edge of the board a distance d/2 from point X?
brace - 1.png
Please, register (free) to access all the attachments on the forums.
Last edited by pbacot on Wed May 02, 2012 6:32 pm, edited 2 times in total.
User avatar
pbacot
Top SketchUcator
 
Posts: 2717
Joined: Sun Jul 20, 2008 7:26 pm
Location: Sonoma
Name: pbacot
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: mini-challenge

Postby Pilou » Wed May 02, 2012 5:52 pm

@TIG
Cool but there is a little mystery ;)
In your file (from the mine modified) tichkness is not 1.000000m but 0.997509m
CD = 1.320818 m
Or you don't change the drawing and just type the text's explanations for only the theory?

In a nurbs modeler with the Technic of circle (first example of Jeff video) (with of course sames measures)
CD = 1.3239127 m & angle 40.945192°

The adventure is not finished! :D



File nurbs format 3dm
Please, register (free) to access all the attachments on the forums.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10078
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: mini-challenge

Postby pbacot » Wed May 02, 2012 6:28 pm

Gilles,

I Have no idea how you figured that out :shock: One snaps to a line that is not there until the execution. That's wild!

Peter
User avatar
pbacot
Top SketchUcator
 
Posts: 2717
Joined: Sun Jul 20, 2008 7:26 pm
Location: Sonoma
Name: pbacot
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: mini-challenge

Postby gilles » Wed May 02, 2012 6:32 pm

Good try but... :mrgreen:
Please, register (free) to access all the attachments on the forums.
User avatar
gilles
Top SketchUcator
 
Posts: 766
Joined: Mon Apr 07, 2008 10:29 am
Location: france
Operating system: Mac
SketchUp version: 8
License type: Free/Make
SketchUp use: other
Level of SketchUp: Intermediate

Re: mini-challenge

Postby TIG » Wed May 02, 2012 6:39 pm

Pilou's version appears to work...
But when I reproduce it there's inaccuracy again :?
Logic [initially] says that offsetting [pushpulling] a face that is coplanar with the known diagonal by width/2 and then adding the new sloping lines through the points ought to make them along the rail's raking edges ???
BUT the offset is perpendicular to the diagonal NOT the rails sides !
Hence the errors... very much like all other approximation methods :?
TIG
User avatar
TIG
Global Moderator
 
Posts: 14007
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mini-challenge

Postby pbacot » Wed May 02, 2012 6:46 pm

TIG,

To me the problem is that d/2 should be measured perpendicular to the final edge, not the diagonal.

Peter
User avatar
pbacot
Top SketchUcator
 
Posts: 2717
Joined: Sun Jul 20, 2008 7:26 pm
Location: Sonoma
Name: pbacot
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: mini-challenge

Postby TIG » Wed May 02, 2012 6:55 pm

pbacot wrote:TIG,

To me the problem is that d/2 should be measured perpendicular to the final edge, not the diagonal.

Peter
Exactly right - I was adding that to my last post as you posted...
The difference between offsetting the diagonal and the sides is the error. :roll:
TIG
User avatar
TIG
Global Moderator
 
Posts: 14007
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mini-challenge

Postby andybot » Wed May 02, 2012 8:56 pm

pbacot wrote:Gilles,

I Have no idea how you figured that out :shock: One snaps to a line that is not there until the execution. That's wild!

Peter


Indeed - components interacting with each other during manipulation has always been baffling to me. Some things work and some don't (for example try to move a line in a mirrored component so that it's on the mirror plane - it won't snap to the other side, it'll just keep going past the mirror plane)
User avatar
andybot
Premium Member
Premium Member
 
Posts: 1055
Joined: Fri Jul 16, 2010 5:10 pm
Location: Charlottesville, Virginia
Name: Andy
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mini-challenge

Postby TIG » Wed May 02, 2012 9:05 pm

I have yet another 'drawn' solution...
I can't fault it... but then again... you might... :roll:
Please, register (free) to access all the attachments on the forums.
TIG
User avatar
TIG
Global Moderator
 
Posts: 14007
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mini-challenge

Postby bmike » Wed May 02, 2012 9:20 pm

TIG wrote:I have yet another drawn solution... I can't fault it but then again... :roll:


that appears to work... instead of copying the line up by the thickness of the brace, i +rotated about the center of the original line 180d. then traced over everything to get my shape.

except, when i use the tape, with 0.000000 accuracy, i get 5.995197, instead of what should be 6" in my example.

copying the bottom line up 6" (2x the measurement i used for 1/2w) should yield better results, but then i'd guess that the top or bottom would be off. or the rotate tool is inherently inaccurate.
User avatar
bmike
 
Posts: 488
Joined: Mon Dec 15, 2008 6:42 pm
Location: vermont

Re: mini-challenge

Postby gilles » Wed May 02, 2012 9:26 pm

I Have no idea how you figured that out One snaps to a line that is not there until the execution. That's wild!


The line was not here but exist so you can interact with, I use this technic frequently.
User avatar
gilles
Top SketchUcator
 
Posts: 766
Joined: Mon Apr 07, 2008 10:29 am
Location: france
Operating system: Mac
SketchUp version: 8
License type: Free/Make
SketchUp use: other
Level of SketchUp: Intermediate

Re: mini-challenge

Postby Rich O Brien » Wed May 02, 2012 9:42 pm

A slight variation on TIG's

http://www.screenr.com/7VC8
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8318
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: mini-challenge

Postby TIG » Wed May 02, 2012 10:24 pm

bmike wrote:
TIG wrote:I have yet another drawn solution... I can't fault it but then again... :roll:


that appears to work... instead of copying the line up by the thickness of the brace, i +rotated about the center of the original line 180d. then traced over everything to get my shape.

except, when i use the tape, with 0.000000 accuracy, i get 5.995197, instead of what should be 6" in my example.

copying the bottom line up 6" (2x the measurement i used for 1/2w) should yield better results, but then i'd guess that the top or bottom would be off. or the rotate tool is inherently inaccurate.
Move+Ctrl to copy the bottom long-side lines up to 'T' [as there are two lines, split by the width/2 perpendicular line...] moved up to the top of the right-hand post [T]...
TIG
User avatar
TIG
Global Moderator
 
Posts: 14007
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mini-challenge

Postby TIG » Wed May 02, 2012 10:27 pm

Rich O'Brien wrote:A slight variation on TIG's
http://www.screenr.com/7VC8
Another working solution [I think!]... but it uses a script :(
TIG
User avatar
TIG
Global Moderator
 
Posts: 14007
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mini-challenge

Postby Rich O Brien » Wed May 02, 2012 10:33 pm

A script that should be a default tool :thumb:

If only Google accepted sketchUcation's offer to buy Sketchp that time :roll:
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8318
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: mini-challenge

Postby TIG » Wed May 02, 2012 10:38 pm

Rich O'Brien wrote:A script that should be a default tool :thumb:
If only Google had accepted SketchUcation's offer to buy Sketchup that time :roll:
I know... I know... but we are now all Trimblers-in-our-boots ;)
TIG
User avatar
TIG
Global Moderator
 
Posts: 14007
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mini-challenge

Postby pbacot » Thu May 03, 2012 12:01 am

TIG wrote:I have yet another 'drawn' solution...
I can't fault it... but then again... you might... :roll:


Without doing a test, I don't see the logic that when you rotate the line back up, that point E hits the diagonal at any meaningful (or snappable) point. It can't be hitting the 'M' midpoint of the diagonal... therefore it isn't width/2 off the true axis of the board. In fact, isn't the angle created the same as measuring width/2 from M to the bottom edge?
User avatar
pbacot
Top SketchUcator
 
Posts: 2717
Joined: Sun Jul 20, 2008 7:26 pm
Location: Sonoma
Name: pbacot
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: mini-challenge

Postby TIG » Thu May 03, 2012 12:11 am

That's was the point... you snap it to M but E can never 'touch' it - but it will align... landing on the centerline.
BUT... you have me 'banged to rights' - it doesn't work as it's not an exact fit, so there is still a tolerance issue :roll: :roll: :roll:
Back to the drawing board... :?
TIG
User avatar
TIG
Global Moderator
 
Posts: 14007
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mini-challenge

Postby driven » Thu May 03, 2012 12:18 am

been watching with no spare time...

my solution, two instances of square component, the second moved to top of target post and rotated 180º, then in edit mode rotated again from pivot point and snaped to first instances [also rotating] none pivot corner.
2012-05-03 12.10.11 am.png


john
Please, register (free) to access all the attachments on the forums.
Last edited by driven on Thu May 03, 2012 12:23 am, edited 1 time in total.
driven
Top SketchUcator
 
Posts: 1413
Joined: Fri May 01, 2009 11:50 pm
Name: John
Operating system: Mac
SketchUp version: 2013
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: mini-challenge

Postby TIG » Thu May 03, 2012 12:23 am

Driven

I think this a variation of the two-instance-rotation-with-mutual-snapping solution posted earlier today...

Can you elaborate...

So far, I think that is the only good way [along with Fredo's weird snap inferencing example] ???
TIG
User avatar
TIG
Global Moderator
 
Posts: 14007
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mini-challenge

Postby driven » Thu May 03, 2012 12:38 am

Tig,
your most likely right, I haven't had a good look at all the 'solutions'
I'm working 18hr days at the moment and just had a quick shot at it, needed a play before sleep...
john
driven
Top SketchUcator
 
Posts: 1413
Joined: Fri May 01, 2009 11:50 pm
Name: John
Operating system: Mac
SketchUp version: 2013
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: mini-challenge

Postby mac1 » Thu May 03, 2012 5:04 pm

mini__mac2.skp
Here is improved on solution I posted early and all dimension have been verified to SU 32 bit float accuracy against the close form solution I presented above.
Note I have been using some of the post dimension Jeff posted early of 96" post height, 65" spacing and 3.5 rail width.
No plugin is used.
I did use the technique I posted almost a year or so ago on the exact solution of sphere line intersection.
Please, register (free) to access all the attachments on the forums.
mac1
Top SketchUcator
 
Posts: 682
Joined: Wed Apr 16, 2008 4:05 pm

Re: mini-challenge

Postby andybot » Thu May 03, 2012 5:13 pm

mac1 wrote:
mini__mac2.skp
Here is improved on solution I posted early and all dimension have been verified to SU 32 bit float accuracy against the close form solution I presented above.
Note I have been using some of the post dimension Jeff posted early of 96" post height, 65" spacing and 3.5 rail width.
No plugin is used.
I did use the technique I posted almost a year or so ago on the exact solution of sphere line intersection.


Hey Mac1 - what "sphere" are you using? It's not clear in your model what your steps are.
User avatar
andybot
Premium Member
Premium Member
 
Posts: 1055
Joined: Fri Jul 16, 2010 5:10 pm
Location: Charlottesville, Virginia
Name: Andy
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mini-challenge

Postby mac1 » Thu May 03, 2012 11:35 pm

andybot wrote:
mac1 wrote:
mini__mac2.skp
Here is improved on solution I posted early and all dimension have been verified to SU 32 bit float accuracy against the close form solution I presented above.
Note I have been using some of the post dimension Jeff posted early of 96" post height, 65" spacing and 3.5 rail width.
No plugin is used.
I did use the technique I posted almost a year or so ago on the exact solution of sphere line intersection.


Hey Mac1 - what "sphere" are you using? It's not clear in your model what your steps are.


Sorry did not make my self clear enough for you. At the bottom right I show the intersect point, at the bottom left I show the center of the sphere. Since SU is a 3d program any time you talk about intersecting a rotated line with a target line it must be on a spherical basis. There was no intent to show a sphere but the math basis must consider that or you do not have a closed form solution. SO the directed line segment from the line rotation point ( aka center of sphere) to the intersection of the target line( used as ref for guide point) is the points one needs to get the angle of rotation and the intersect with the rail width to the left post. SO the intersect ( guide point ) at the target line, the two 3.5 inch spaced guide lines are all rotated to the top of the left post to establish the points needed to draw the 3.5 rail to the proper points. Here is a screen shot of the skip file I posted some time ago.
SPHERE LINE INTERSECT.jpg
Please, register (free) to access all the attachments on the forums.
mac1
Top SketchUcator
 
Posts: 682
Joined: Wed Apr 16, 2008 4:05 pm

Re: mini-challenge

Postby mac1 » Thu May 03, 2012 11:56 pm

Fence truuth.jpg

BTW you need ground truth to know if your model is correct.
I presented the closed form solution for the 2d case above. Here is the excel results to check my model'
Please, register (free) to access all the attachments on the forums.
mac1
Top SketchUcator
 
Posts: 682
Joined: Wed Apr 16, 2008 4:05 pm

Re: mini-challenge

Postby Ecuadorian » Fri May 04, 2012 12:01 am

The fact that this thread is already 19 pages long has made me seriously consider learning either MoI or Rhino.
Ecuadorian
 
Posts: 1621
Joined: Thu Jan 15, 2009 10:20 pm
Location: Ecuador
Name: Miguel
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: mini-challenge

Postby Pilou » Fri May 04, 2012 12:10 am

Take Moi : It's the SU of Nurbs against Rhino ! :mrgreen:
Less powerful functions but it's not the same spirite! ;)

I don't abort to find a more easy answer at this damned problem of align rotation who fail at mini micro sub-atomic snaping! :shock:
Last edited by Pilou on Fri May 04, 2012 12:11 am, edited 1 time in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10078
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: mini-challenge

Postby andybot » Fri May 04, 2012 12:11 am

mac1 wrote:BTW you need ground truth to know if your model is correct.

Clear as mud :?

You still don't show your steps. I'd love to see the "sphere" you are using, or are you just talking about calculating and not modeling. Sure, anyone understanding basic trig can calculate the length of the edge based on the diagonal, that's been done a few times in this thread, but entering numbers seems to still end up with rounding errors in SU...
User avatar
andybot
Premium Member
Premium Member
 
Posts: 1055
Joined: Fri Jul 16, 2010 5:10 pm
Location: Charlottesville, Virginia
Name: Andy
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mini-challenge

Postby CHARLIE__V » Fri May 04, 2012 3:09 am

Greetings all,

A few months back I had a similar conundrum..........after fussing a bit I just "eyeballed it" to get my cross bracing.

"Knowing" the challenge, I have taken another swing at it...........though it still does not "zero out".

In short.........center the cross brace and scale it's "ends" to meet the vertical(s).

Sorry..........I do not possess video skills.

Best,
Please, register (free) to access all the attachments on the forums.
CHARLIE__V
 
Posts: 274
Joined: Tue Nov 13, 2007 1:39 pm

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to SketchUp Discussions

Who is online

Users browsing this forum: Clayton49, icas_studio, Jean-Franco, Mike Amos, mwm5053, tallbridgeguy, thomthom and 11 guests