Coder Social home page Coder Social logo

Comments (8)

ChrisTriesToCode avatar ChrisTriesToCode commented on August 16, 2024

Tested on 1.2.8.4

Seems to work when you have e.g only circles but when you add a different primitive in the mix the error stays (the hide-set one).

Polyline on the left worked fine

Circle one the right gave the hide_set error

error3

Cant really reproduce that :/ (bottom error)

bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.remove_doubles()
bpy.ops.object.editmode_toggle()
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY', center='MEDIAN')
bpy.ops.object.transform_apply(location=False, rotation=False, scale=True)
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.modifier_apply(modifier="FC_BOOL")
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.delete()
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.remove_doubles()
bpy.ops.object.editmode_toggle()
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY', center='MEDIAN')
bpy.ops.object.transform_apply(location=False, rotation=False, scale=True)
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.modifier_apply(modifier="FC_BOOL")
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.delete()
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.remove_doubles()
bpy.ops.object.editmode_toggle()
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY', center='MEDIAN')
bpy.ops.object.transform_apply(location=False, rotation=False, scale=True)
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.modifier_apply(modifier="FC_BOOL")
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.delete()
bpy.context.scene.apply_bool = False
bpy.context.scene.use_snapping = False
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.remove_doubles()
bpy.ops.object.editmode_toggle()
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY', center='MEDIAN')
bpy.ops.object.transform_apply(location=False, rotation=False, scale=True)
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.remove_doubles()
bpy.ops.object.editmode_toggle()
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY', center='MEDIAN')
bpy.ops.object.transform_apply(location=False, rotation=False, scale=True)
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.remove_doubles()
bpy.ops.object.editmode_toggle()
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY', center='MEDIAN')
bpy.ops.object.transform_apply(location=False, rotation=False, scale=True)
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.select_all(action='DESELECT')
bpy.context.space_data.context = 'MODIFIER'
bpy.ops.object.modifier_apply(modifier="FC_BOOL")
bpy.ops.object.modifier_apply(modifier="FC_BOOL.001")
bpy.ops.object.modifier_apply(modifier="FC_BOOL.002")
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.apply_all_bool()
Traceback (most recent call last):
File "C:\Users\horst\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\jmesh-tools-master\fc_apply_bool_op.py", line 84, in execute
obj.select_set(True)
RuntimeError: Error: Object 'Circle_Object' can't be selected because it is not in View Layer 'View Layer'!

location: :-1

error2

sry for giving you headaches :(

from jmesh-tools.

ChrisTriesToCode avatar ChrisTriesToCode commented on August 16, 2024

Here I had 2 different ones in one object....no error but the rectangle bool wasnt deleted
After undoing the steps it worked fine .......

screen

from jmesh-tools.

ChrisTriesToCode avatar ChrisTriesToCode commented on August 16, 2024

https://youtu.be/UZr74c4iRd8

https://youtu.be/Mu2Jl9XeCnQ

from jmesh-tools.

jayanam avatar jayanam commented on August 16, 2024

from jmesh-tools.

ChrisTriesToCode avatar ChrisTriesToCode commented on August 16, 2024

yeah but the polyline crashed too in the test 1 video

and in the 2, one of the circles didnt got deleted after beong applied and the hide-set error reappeard again

from jmesh-tools.

jayanam avatar jayanam commented on August 16, 2024

I just tried the same with this Blender version:

image

No errors

from jmesh-tools.

ChrisTriesToCode avatar ChrisTriesToCode commented on August 16, 2024

I got the last 2.9 from the official site . may 31
I dont think you can get a earlier version

from jmesh-tools.

jayanam avatar jayanam commented on August 16, 2024

Fixed with 1.2.8.5, new algorithm

from jmesh-tools.

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.