Giter VIP home page Giter VIP logo

Comments (23)

mobilarte avatar mobilarte commented on August 12, 2024

I presume your question is about the 2D cutting plan. Could you please provide a simple example showing the problem?

Please consider that there is a length/width oversize defined on the material, making parts larger than what you finally need. An oversize can also be configured on single parts. There is also a trimming size in the cutting diagram configuration which reduces the size of the panel.

from lairdubois-opencutlist-sketchup-extension.

JunkyXL86 avatar JunkyXL86 commented on August 12, 2024

When I generate the cutting plan (2D, yes), OCL splits up the pieces onto two boards.
first_board
second_board

When I make the board 3 mm larger, all pieces fit onto a single board. This is just because there is a saw blade margin for this last piece, which in addition exceeds the board size.

For demonstration purpose I editted the third image to illustrate that the last piece would fit onto the board.
estimated_single_board

from lairdubois-opencutlist-sketchup-extension.

mobilarte avatar mobilarte commented on August 12, 2024

Could you please give me the dimensions of all the parts?

This may be a bug, but could also be a consequence of the requirement that all cuts must be guillotine cuts (through-cuts).

from lairdubois-opencutlist-sketchup-extension.

mobilarte avatar mobilarte commented on August 12, 2024

Did you try to configure "length decreasing" instead of the default "width decreasing"?

I tried to reconstruct your problem (may not be exactly the same):

  1. width decreasing, one part cannot be placed.

width_decr

  1. length decreasing, all parts can be placed

length_decr

from lairdubois-opencutlist-sketchup-extension.

marguenther avatar marguenther commented on August 12, 2024

I have a similar problem. After the update to 1.9.1 OCL did not create an Cutlist for an existing project. With the "old" Version, same project, same woodlist i could create an cutlist.

I mean the OCL makes unnecessary cuts at the lower edges and therefore not all elements are placed. However, I also have the phenomenon that some elements are placed and there would still be enough space for other parts on the plates, but these are not placed. These are simply not placed at all.

from lairdubois-opencutlist-sketchup-extension.

mobilarte avatar mobilarte commented on August 12, 2024

Thank you for reporting the problem. Can you please give me a concrete example?

from lairdubois-opencutlist-sketchup-extension.

marguenther avatar marguenther commented on August 12, 2024

from lairdubois-opencutlist-sketchup-extension.

mobilarte avatar mobilarte commented on August 12, 2024

Some parameters add space around your parts or reduce the size of the panel.

  1. Did you set the trimming size configuration option of the cutting diagram to 0mm? The trimming size ensures that the sheet has clean and square edges.

  1. Did you set the general material options for oversizes to 0mm? This option adds some space to each part on the given material to produce rough sizes. Assuming you have the parts roughly cut by a shop and you want to cut them to final dimensions with a cleaner saw blade.

  1. Did you set the part properties oversizes to 0mm? Sometimes a part on a given material needs to be made slightly oversized because it will be fitted when installing it (Küchensockel). This options allows to add some space on a single part, not on all parts of a material.

from lairdubois-opencutlist-sketchup-extension.

marguenther avatar marguenther commented on August 12, 2024

Yes, i set all part to zero.
1.
image
This with a width of 505mm. With 500mm i didnt get an cut list.

image

image

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 12, 2024

Strange, @marguenther, could you please mail us your .skp to [email protected] ?

from lairdubois-opencutlist-sketchup-extension.

marguenther avatar marguenther commented on August 12, 2024

from lairdubois-opencutlist-sketchup-extension.

mobilarte avatar mobilarte commented on August 12, 2024

Ok, I found the problem by recreating two parts with the dimensions 900mm x 500mm. I made a rectangle and put the dimensions into the VCB:

In SketchUp, dimensions are stored internally as decimal inches. Therefore 900mm x 500mm is 35.43307086614173 x
19.68503937007874, but the two original parts have dimensions:

35.43307086614173 x 19.685039370078776, difference is 19.685039370078776 - 19.68503937007874 = 3.5527e-14
35.43307086614173 x 19.685039370078787, difference is 19.685039370078787 - 19.68503937007874 = 4.6185e-14

It is impossible to notice the difference, even when configuring full display precision:

I do not yet know how and where we will deal with this precision problem.

Thank you!

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 12, 2024

I do not yet know how and where we will deal with this precision problem.

The problem is that before 1.9.0, dimension were transmitted to cutting diagram algorithm through a string value expressed in model unit and precision reconverted in inch float. But right now the real inch float value is transmitted to cutting diagram computation. Then there no more precision truncation...

Maybe we have to arbitrary truncate float values with the same function used to generate part's IDs.

from lairdubois-opencutlist-sketchup-extension.

mobilarte avatar mobilarte commented on August 12, 2024

Since the user cannot see the difference, we should go ahead and implement "what you see is what you get".

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 12, 2024

@marguenther, then you can try the current 1.9.2 DEV release.

from lairdubois-opencutlist-sketchup-extension.

marguenther avatar marguenther commented on August 12, 2024

from lairdubois-opencutlist-sketchup-extension.

mobilarte avatar mobilarte commented on August 12, 2024

The fix introduces some weird artifacts

The 2D algorithm now thinks that it should make a cut at 499.999000, which leads to a cutlength of 2799.99 whereas only a 1000mm cutting is necessary.

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 12, 2024

Arf. You're right !
We may need to discover how Sketchup truncate its values ...

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 12, 2024

Rollback to < 1.9 way to transfert data to cutting diagram lib in last DEV release.
Even if the dimension are not strictly the same. What you see is what you get according to the Sketchup precision parameter.
@mobilarte, 499.999000 is not present anymore :)

from lairdubois-opencutlist-sketchup-extension.

mgray88 avatar mgray88 commented on August 12, 2024

I think I'm experiencing this bug as well, but much simpler. I have a sheet good that is defined as having 4'x8' dimensions. Components in the model with full 4'x8' size are not placed in the cutlist. Strangely, even some that are only full size in one dimension are not placed. I have a model I can send where I have reproduced it.

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 12, 2024

@mgray88 as mentioned above, you can send your sample model at [email protected].

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 12, 2024

Ok @mgray88 according of what I can see on the model you send me. Your problem is solved by the current 1.9.2 DEV build. Link in a comment above.

Capture d’écran 2020-07-20 à 13 30 01

from lairdubois-opencutlist-sketchup-extension.

mgray88 avatar mgray88 commented on August 12, 2024

@bbeaulant I'll give a try later today. Thanks!

from lairdubois-opencutlist-sketchup-extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.