Toposhaper Crashing

General discussion related to SketchUp Pro and Make

Toposhaper Crashing

Postby ball4872 » Thu Sep 08, 2016 7:26 pm

Is there a maximum size that toposhaper will complete? I am trying to create a mesh for my current project and it keeps giving me the pink ruby error window. Just wondering if there is something that I can change to allow it to work successfully. I simplified my contours all the way up to 10 feet and it still crashes. I have a hard due date coming up and in a bit of a time crunch. Anyone else ran into this problem and have found a solution please help.

The error says it was aborted because of zero length vector.

Thanks
0
User avatar
ball4872 
 

Re: Toposhaper Crashing

Postby fredo6 » Thu Sep 08, 2016 9:34 pm

ball4872 wrote:Is there a maximum size that toposhaper will complete? I am trying to create a mesh for my current project and it keeps giving me the pink ruby error window. Just wondering if there is something that I can change to allow it to work successfully. I simplified my contours all the way up to 10 feet and it still crashes. I have a hard due date coming up and in a bit of a time crunch. Anyone else ran into this problem and have found a solution please help.

The error says it was aborted because of zero length vector.

Thanks

This would help if you can post the full error (just select the text in the dialog box).

Also, posting the model would help, in case this is related to the model.

Thanks

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: Toposhaper Crashing

Postby ball4872 » Thu Sep 08, 2016 10:40 pm

Date: 08-Sep-16 15:41:06
An error occurred in CALCULATING TERRAINS
The operation is fully aborted

Zero length vector)

TopoShaperAAMixin.rb: 283 -- offset
TopoShaperAAMixin.rb: 283 -- bb_2_points
TopoShaperAAMixin.rb: 290 -- contour_cut_segment?
TopoShaperAlgo.rb: 1895 -- block in hull_proximity_direct_pass
TopoShaperAlgo.rb: 1895 -- each
TopoShaperAlgo.rb: 1895 -- find
TopoShaperAlgo.rb: 1895 -- hull_proximity_direct_pass
TopoShaperAlgo.rb: 1855 -- hull_proximity_pass
TopoShaperAlgo.rb: 1744 -- hull_concave_pass
TopoShaperAlgo.rb: 1676 -- block in hull_concave
TopoShaperAlgo.rb: 1674 -- each
TopoShaperAlgo.rb: 1674 -- hull_concave
TopoShaperAlgo.rb: 1565 -- hull_calculate
TopoShaperAlgo.rb: 525 -- top_analysis_contour
TopoShaperAlgo.rb: 418 -- top_processing
TopoShaperTool.rb: 575 -- algo_processing
TopoShaperTool.rb: 667 -- execute_validate
TopoShaperPalette.rb: 130 -- execute_from_palette
TopoShaperPalette.rb: 76 -- notify_from_palette
TopoShaperPalette.rb: 518 -- call
TopoShaperPalette.rb: 518 -- block (2 levels) in palette_validate
body_Lib6Palette.rb: 3058 -- call
body_Lib6Palette.rb: 3058 -- execute_button
body_Lib6Palette.rb: 2865 -- onLButtonUp
Lib6Palette.rb: 93 -- onLButtonUp
TopoShaperTool.rb: 985 -- onLButtonUp
1
User avatar
ball4872 
 

Re: Toposhaper Crashing

Postby fredo6 » Fri Sep 09, 2016 10:04 am

The model is quite complex and would normally require a lot of clean up
- contours do not need to be that close in altitude (since it is the quad mesh resolution that detremines the precision)
- there are a number of ill contours, that cross others. This also should be fixed.

Complex terrain generation.png


In general, do not expect to run TopoShaper right away on a model 'out of the box' without looking at the contours and fixing the most obvious visual issues

I had to make a few changes in TopoShaper and in your model in order to be able to generate the terrain.

Ball4872 - Terrain Complex.png

Ball4872 - Complex Terrain 2.png


As the file is still big (5 Mb, I cannot post it here). So, please PM me an email address and I'll do it.

In parallel, I will republish TopoShaper.

But again, please cleanup your contours beforehand. If you do so, it may even run with the current version of TopoShaper.
- Remove the crossing contours (there are a few)
- once you can generate the preview, look at the Red junctions and refuse those which are abnormal
- you can also exclude weird contours if you wish
- Use the 'Save and Reload Contours' to update your model, so that you've done the changes once and the correct enveloppe is recalculated.

Fredo
4
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: Toposhaper Crashing

Postby ball4872 » Fri Sep 09, 2016 4:50 pm

Thank you so much Fredo. I will definitely from now on clean up all of my contours before running it. It was a hurry project so I didnt spend enough time on the grading. I was only given a few hours to grade out the entire site. I am not able to send messages yet on here so I will give you my email now and delete it once I receive your message. trevor @ stackrockgroup . com


Thank you so much for the response. I sure love how active and responsive the forums are with sketchup. It has to be the best out there.
0
User avatar
ball4872 
 

Re: Toposhaper Crashing

Postby cotty » Sat Sep 10, 2016 9:18 pm

Fredo don't ask for it, but you can always donate via Paypal, you will find a link in the plugin menu structure...
1
User avatar
cotty 
Top SketchUcator
 

Re: Toposhaper Crashing

Postby aguadodaniel » Mon Jun 29, 2020 5:10 am

Hello, I am trying to create a mesh for my current project and it keeps giving me the pink ruby error window. Just wondering if there is something that I can change to allow it to work successfully.

The error says

Date: 28-Jun-20 23:07:03
An error occurred in CLEANSING
The operation is fully aborted

undefined local variable or method `colors_init' for #<F6_TopoShaper::TopoShaperCleanser:0x0000023f501784a0>

toposhapercleanser.rbe: 84 -- initialize
toposhapertool.rbe: 541 -- new
toposhapertool.rbe: 541 -- cleansing_processing
toposhapertool.rbe: 523 -- after_selection
toposhapertool.rbe: 493 -- notify_edge_picked
body_lib6edgepicker.rbe: 539 -- call
body_lib6edgepicker.rbe: 539 -- notify_action
body_lib6edgepicker.rbe: 595 -- terminate_current_selection
toposhapertool.rbe: 658 -- execute_validate
toposhapertool.rbe: 387 -- handle_initial_selection
toposhapertool.rbe: 319 -- activate
toposhapertool.rbe: 133 -- select_tool
toposhapertool.rbe: 133 -- action__mapping
lib6plugin.rbe: 126 -- call
lib6plugin.rbe: 126 -- launch_action
lib6plugin.rbe: 224 -- launch_action
bootstrap_toposhaper.rbe: 82 -- launch_action
bootstrap_toposhaper.rbe: 135 -- block in startup
lib6plugin.rbe: 1324 -- command_invoke
lib6plugin.rbe: 1306 -- block (2 levels) in build_config_commands
lib6traductor.rbe: 1372 -- block in add_command
0

aguadodaniel 
 

Re: Toposhaper Crashing

Postby fredo6 » Mon Jun 29, 2020 11:55 am

aguadodaniel wrote:Hello, I am trying to create a mesh for my current project and it keeps giving me the pink ruby error window. Just wondering if there is something that I can change to allow it to work successfully.

It may help to post or send me the corresponding model so that I can relate the errors to the geometry.

Many thanks

Fredo
1
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: Toposhaper Crashing

Postby aguadodaniel » Mon Jun 29, 2020 6:42 pm

That'll be great, what's your email?
0

aguadodaniel 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to SketchUp Pro & Make Discussions

Who is online

Users browsing this forum: ccc54 and 3 guests

Visit our sponsors: