[Plugin] EdgeInspector - v1.2a - 12 Oct 14

[Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby fredo6 » Fri Jan 24, 2014 10:44 am



EdgeInspector is a standalone script which inspects, and then fixes, some Edge defects in the model, usually coming after DXF imports and Intersections. It currently supports 5 edge defects (more may be coming on request):
List of Defects.png


These defects can be inspected and fixed by type, based on the user’s choice:
Edge Inspector main screen.png


For convenience, EdgeInspector comes with a Geometrical Magnifier Glass which can zoom beyond the native Sketchup capability (2x – 5000x).
EdgeInspector - Magnifier Glass.png


The magnifier Glass allows freezing a view and perform a few operations on the entities (Edition mode). These edition tools are implemented in a similar way as the native Skethcup equivalent functions, with some differences however.

  • Selection of edges and faces (via clic, double-clic, triple-clic, with modifiers Shift and Ctrl)
  • Tape Measure with inferencing (point to point or parallel from an edge)
  • Move Vertex, Edges or Faces with inferencing
  • Edge Eraser. The DEL key is also supported to erase selected edges and faces
  • Repair Now, to fix defects individually
  • Ignore Repair, mark a defect so that it is ignored by the global repairing of EdgeInspector


EdgeInspector is installed as part of FredoTools..

See the main post for this plugin for Installation of FredoTools



Quickcard EdgeInspector - English - v1.1.pdf

(see also section Quick Start and Videos below)
  • SU Versions: SU6, SU7, SU8, SU13 – works better with SU8 M1 and above
  • Platforms: Windows and Mac
  • Languages: English, French
  • Menus: by default, EdgeInspector is installed in Tools > FredoTools. It does NOT appear in the Contextual menu.
  • Icon toolbar: Fredo6 Tools. There is only a single icon. By default, it is not shown. You need to go to the Default Parameters… dialog of FredoTools to enable the icon.
  • The plugin is free, for private and commercial usage.



EdgeInspector Overview


Lost Junctions and Needle-eyes



Launching Edge Inspector
It can be launched on a Pre-selection. If there is no selection, then the scope of inspection is the Whole model.
A Floating palette window appears. It allows controlling the list of defects to be inspected, as well as their individual parameters.
EdgeInspector Palette.png


Click on INSPECT button. All defects will be highlighted by a specific edge color or small mark in the model.

Then, click on FIX button to fix them.

You can freely rollback (or Ctrl-Z) to undo the fixing.

Note: some models are tricky. Fixing defects may not be complete in one pass. So it’s a good idea to inspect again after fixing (there is an option to do it automatically).

Launching the Magnifier Glass
  • when the cursor is a small magnifier glass, click in the view. The Magnifier glass window will appear with a floating palette
    EdgeInspector - Magnifier Palette.png

  • For convenience, there are 3 sizes available: Small, Medium and Large. The choice of the size is a question of screen but also of CPU power. Performance are better with smaller sizes. The option can be selected in the Default Parameters of LibFredo6.
  • Display Mode: The magnifier glass can be displayed in 3 modes:
    • Fixed, embedded in the floating palette (which you can move around, if needed)
    • Shifted: the magnifier glass is displayed near the position of the cursor so that you can view the area spotted in the Sketchup viewport
    • Centered: the magnifier glass is centered on the cursor. Convenient for small zoom factors, but less adapted for heavy zooming, though.
Magnifier - Display Modes.png


Zooming with the Magnifier Glass
  • Zoom, Panning and Orbiting in the Viewport via Mousewheel and the Middle mouse button is reflected in the Magnifier glass. This is one way to zoom in / out.
  • Zooming in the Magnifier glass, that is, increasing / decreasing the zoom factor, can be done with Ctrl-Mousewheel, Arrows, palette buttons and the VCB.
  • The zoom factor is indicated in the magnifier window and in the palette. There is also a small scale to give an approximation of the 3D distance corresponding to the half-width of the glass.
Magnifier Help.png


Edition Mode in the frozen view
If you click again in the viewport, you can freeze the view and enter the Edition Mode where you can perform a few functions.
Magnifier Edition Mode.png

  • Selection of edges and faces (via clic, double-clic, triple-clic, with modifiers Shift and Ctrl)
  • Tape Measure with inferencing (point to point or parallel from an edge)
  • Move: Vertex, Edges or Faces can be moved with inferencing. As in native Sketchup, you can move just a single vertex, or, using the selection tool, pre-select edges and faces and then move them altogether to a given target. Be aware that when edges are part of a curve or an arc, moving a vertex individually will likely move the whole curve or arc and its attached geometry.
  • Edge Eraser. Applicable to Edges only. I supports only the click-release mode on Edges. The DEL key is also supported to erase selected edges and faces
  • Repair Now, to fix defects individually
  • Ignore Repair, mark a defect so that it is ignored by the global repairing of EdgeInspector
  • Rollback – Undo: any operation can be safely undone via this button or via Ctrl-Z
  • Panning: It is performed by a click-drag-release and applicable to all tools by default. For Move and Tape tools, you have an option (in the Default Parameters of LibFredo6) to deactivate panning and use click-drag-release for Move or Tape instead (in such a case, Panning can still be done via Ctrl-click-drag-release or Shift-click-drag-release)

Other Functions
  • Mark for vertices. You can enable / disable marks for vertices. They will be shown with a small blue square.
  • Quick Help. The Help button displays the main commands and shortcuts for zooming and editing in the Magnifier Glass.

Major limitations of the Magnifier Glass
  • Textures are not rendered. Instead faces are painted with the dominant color of the texture.
  • When zooming on small objects, the Magnifier glass may miss some edges or faces. Just zoom in the Sketchup viewport to get closer to the area you want to enlarge.
  • The Z-Order of faces may not be correct. This is because the rendering is based on a rudimentary algorithm compatible with acceptable performance. Usually, try to Zoom-in or slightly orbit.
  • Performance is depending on the zoom factor and to the number of faces / edges in the area spotted.



EdgeInspector 1.2a – 12 Oct 14: Major fixes and evolutions for Lost Junctions, Tiny Gaps and Tiny Edges. More accurate and relevant detection and fixing

EdgeInspector 1.1a – 15 Feb 14: Added Needle-eyes and Lost Junctions, based on a request by rv1974

EdgeInspector 1.0g – 22 Jan 14: Initial public release
6
Last edited by fredo6 on Sun Mar 24, 2019 10:16 pm, edited 7 times in total.
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] EdgeInspector - v1.0 - 24 Jan 14

Postby cotty » Fri Jan 24, 2014 12:14 pm

WOW! Thank you very much!
0
User avatar
cotty 
Top SketchUcator
 

Re: [Plugin] EdgeInspector - v1.0 - 24 Jan 14

Postby pilou » Fri Jan 24, 2014 12:42 pm

A new hit for the repairs! :fro:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] EdgeInspector - v1.0 - 24 Jan 14

Postby mitcorb » Fri Jan 24, 2014 1:52 pm

This is excellent. Of course, for Fredo's work, that is like saying the sky has air in it. :mrgreen:
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

Re: [Plugin] EdgeInspector - v1.0 - 24 Jan 14

Postby micione » Fri Jan 24, 2014 2:02 pm

Excellent!
0
User avatar
micione 
 

Re: [Plugin] EdgeInspector - v1.0 - 24 Jan 14

Postby ely862me » Fri Jan 24, 2014 2:22 pm

This looks very interesting ! Thank you ! :thumb:

I hope to have a real use for it in my next 3d printing project !
0
Elisei (sketchupper)
____________________________________________________________
Before no life was done on Earth it was THE LIFE ITSELF...GOD
Come and See EliseiDesign
User avatar
ely862me 
Top SketchUcator
 

Re: [Plugin] EdgeInspector - v1.0 - 24 Jan 14

Postby rv1974 » Fri Jan 24, 2014 2:32 pm

sounds awesome :enlight: gone testing.
Oh Fredo!
0

rv1974 
 

Re: [Plugin] EdgeInspector - v1.0 - 24 Jan 14

Postby numerobis » Sat Jan 25, 2014 12:43 am

:o :lol:

OMG! This looks really incredible. Another great tool out of the blue...

Big THANKS! 8-)

:thumb:
0

numerobis 
 

Re: [Plugin] EdgeInspector - v1.0 - 24 Jan 14

Postby johnlv » Sat Jan 25, 2014 7:43 am

It's a great tools..........
0

johnlv 
 

Re: [Plugin] EdgeInspector - v1.0 - 24 Jan 14

Postby rv1974 » Sat Jan 25, 2014 7:54 am

I've been terrorized for years by poor skilled autocadders with this triple decease, see attached.
If only this tool could treat it(preferably automatically, without excessive manual digging) I'd nominate you for Nobel.
2

rv1974 
 

Re: [Plugin] EdgeInspector - v1.0 - 24 Jan 14

Postby kaas » Sat Jan 25, 2014 12:48 pm

Absolutely fabulous! :thumb:
0

kaas 
 

Re: [Plugin] EdgeInspector - v1.0 - 24 Jan 14

Postby panixia » Sun Jan 26, 2014 1:52 pm

very very intersting.. thank you once again!
0
User avatar
panixia 
 

Re: [Plugin] EdgeInspector - v1.1 - 15 Feb 14

Postby fredo6 » Sat Feb 15, 2014 1:10 am

NEW RELEASE: EdgeInspector v1.1a - 15 Feb 14

EdgeInspector 1.1a is a release which introduces the detection and fixing of 2 new defects: lost junctions and needle-eyes.

This comes from an original request by rv1974 (I will soon add the Fake Holes detection so that he owes me a Nobel prize!).



See main post on EdgeInspector for more information

See main post of this thread for Download of FredoTools.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] EdgeInspector - v1.1a - 15 Feb 14

Postby rv1974 » Sat Feb 15, 2014 10:29 am

0

rv1974 
 

Re: [Plugin] EdgeInspector - v1.1a - 15 Feb 14

Postby rv1974 » Sun Feb 16, 2014 9:49 am

Had some field tests- This is Rock-solid tool! Very stable and polished. Amazing!
What I noticed sometimes Inspector leaves some bad vertexes that it won't be able to remove
(see attached). It could be easily solved by coping the faces only , deleting everything and inserting the copied.
0

rv1974 
 

Re: [Plugin] EdgeInspector - v1.1a - 15 Feb 14

Postby notareal » Sun Feb 16, 2014 4:12 pm

Nice work! Thank you!
0
Welcome to try Thea Render, Thea support | kerkythea.net -team member

notareal 
Thea Render Support
Thea Render Support
 

Re: [Plugin] EdgeInspector - v1.1a - 15 Feb 14

Postby fredo6 » Sun Feb 16, 2014 4:21 pm

rv1974 wrote:Had some field tests- This is Rock-solid tool! Very stable and polished. Amazing!
What I noticed sometimes Inspector leaves some bad vertexes that it won't be able to remove
(see attached). It could be easily solved by coping the faces only , deleting everything and inserting the copied.

Seems your segments are not perfectly aligned, one with a difference of 1.38 degrees and the two other with 0.01 degrees. These last two are detected, but are not fixed, because the method assumes segments are perfectly aligned for Sketchup.

By the way, RemoveLonelyVertices does not detect them either.

I'll see if I can do something to trap these cases and fix them.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] EdgeInspector - v1.1a - 15 Feb 14

Postby rv1974 » Sun Feb 16, 2014 5:31 pm

Don't bother. Make a Groove Maker Tool instead.
0

rv1974 
 

Re: [Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby fredo6 » Sun Oct 12, 2014 10:47 pm

NEW RELEASE: EdgeInspector v1.2a - 12 Oct 14

EdgeInspector 1.2a is a major release which is fixing a number of problems with 3 tools: Lost Junctions, Tiny Gaps and Tiny Edges.

This release provides a more accurate and relevant inspection and fixing:
- Tiny Edges are now detected and fixed in groups (loop, hook and sequence)
- Tiny Gaps are detected more adequately and fixed either by moving vertices or by moving the whole connected shapes (to keep the integrity of geometry)
- Lost Junctions receives a more accurate treatment

See main post on EdgeInspector for more information

See main post of this thread for Download of FredoTools.

Fredo
0
Last edited by fredo6 on Mon Oct 13, 2014 12:24 pm, edited 1 time in total.
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby Burkhard » Mon Oct 13, 2014 10:53 am

For a magnifier tool I asked years before when Pixdim comes out

Thanks for it!
0
User avatar
Burkhard 
Premium Member
Premium Member
 

Re: [Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby floriane_mvdb » Tue Mar 01, 2016 12:19 am

Hello Fredo 6, thank you for this plugin that seems to be really awesome!

I don't know if it's the good place to ask for some help using this tool, didn't find any subject about it in the forum.. The problem is that everytime i try to fix the defects calculated in Edge Inspector, i get the same error message saying : error during inspection, Cannot convert argument to Sketchup::Point3d (with a list of errors)
What could i do to solve the problem ?

Thank you
0

floriane_mvdb 
 

Re: [Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby fredo6 » Tue Mar 01, 2016 7:07 pm

floriane_mvdb wrote:Hello Fredo 6, thank you for this plugin that seems to be really awesome!

I don't know if it's the good place to ask for some help using this tool, didn't find any subject about it in the forum.. The problem is that everytime i try to fix the defects calculated in Edge Inspector, i get the same error message saying : error during inspection, Cannot convert argument to Sketchup::Point3d (with a list of errors)
What could i do to solve the problem ?

Thank you

In order for me to help, could you post or send me the error full text, either as a copy paste, or by exporting the file as a txt.
Could you also tell me which correction tool(s) you were using.
I may also need the model, incase I do not see the problem from the error log.

Thanks

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby pipinek » Thu Apr 28, 2016 4:26 am

Empty window.

Greetings,

When I select some edges and apply the Edgeinspector tool I have an empty window with no content:


What could be wrong here (except the problem between my chair and a screen)?
Thank you in advance.
0

pipinek 
Premium Member
Premium Member
 

Re: [Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby fredo6 » Thu Apr 28, 2016 8:33 am

@pipinek

The attached image is missing.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby pipinek » Thu Apr 28, 2016 9:43 am

Hello Fredo,

It is quite strange, the image is visible on my equipment:

http://s32.postimg.org/r4yuq6dv9/image.png
0

pipinek 
Premium Member
Premium Member
 

Re: [Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby fredo6 » Thu Apr 28, 2016 5:38 pm

@pipinek,

There must be a bug. Could you please open the Ruby Console before launching EdgeInspector and tell me the error you see.

Thanks

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby pipinek » Thu Apr 28, 2016 5:58 pm

Thanks Fredo for your reaction,

Here is the result, well no result at all. The Ruby Console is empty.
I have launched RConsole, selected a rectangle and activated Edgeinspector tool.

http://screenshot.net/095oxs2.jpg



PS
I have just noticed that on the other PC with apparently with the same plugin set and configuration (SU 2015) the plugin works well.
Bizarre. Is the any potential conflict to take into consideration?
If yes what shall I check?

Thank you in advance for your kind assistance Fredo.
0

pipinek 
Premium Member
Premium Member
 

Re: [Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby fredo6 » Thu Apr 28, 2016 6:37 pm

Did you try without edge preselection ?

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby pipinek » Thu Apr 28, 2016 7:37 pm

Do you mean Whole Model?
Same results. Empty Edge Inspector box.

I have found the following in Ruby Console (I typed before several SU sessions: 'edgeinspector' - the Ruby Content has stil remained there):

edgeinspector
Error: #<NameError: undefined local variable or method `edgeinspector' for main:Object>
<main>:in `<main>'
SketchUp:1:in `eval'

Finally I have managed it to work by a crazy chance.
I have change something in option shrink... by clicking on a tiny square. Now I have an option bar for each tool including Edge Inspector box content.

http://screenshot.net/r577nc6.jpg



_________________________________________________________
I have another issue with Drawalong tool though.
I cannot assign a letter/keyboard shortcut to it.
Any combination I have tried (my prefered a letter D) when typed it opens a web browser with a youtube page with instruction video.

Is there any solution to the issue, any possibility to have a key shortcut to Drawalong tool?
0

pipinek 
Premium Member
Premium Member
 

Re: [Plugin] EdgeInspector - v1.2a - 12 Oct 14

Postby fredo6 » Fri Apr 29, 2016 3:23 pm

pipinek wrote:I have another issue with Drawalong tool though.
I cannot assign a letter/keyboard shortcut to it.
Any combination I have tried (my prefered a letter D) when typed it opens a web browser with a youtube page with instruction video.

Is there any solution to the issue, any possibility to have a key shortcut to Drawalong tool?

I think that in the Preferences - Short Cut dialog box, you filter with "DrawAlong". This shows the Video menu.
You should filter with "Draw Along", with a space, which will display the main command.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: tarytrifa, Yusuf Rochman a and 9 guests

Visit our sponsors: