Giter VIP home page Giter VIP logo

simplelattice's People

Contributors

benjaminsauder avatar eugenedudavkin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simplelattice's Issues

adding lattice to flat geometry means it can't be edited (3.0)

This might be a blender bug, but if you apply a lattice to a flat object eg a newly created plane, the lattice won't deform the object. seems like the lattice doesn't like a scale of 0 in one dimension, if it's changed to a very small number instead it works

Error when trying to create lattice on a multi-user (instanced) object.

First of all, thank you for your work!

I tested this on Blender 3.1.2, 3.3.2, 3.4.1 and 3.5.0(alpha), using version 0.1.5 of the addon. It happens on all of them.

The issue is easy to replicate: create a cube primitive (any mesh primitive will do). Instance it using Alt-D. From object context menu choose "Simple Lattice Create". Blender throws the following error:

Python: Traceback (most recent call last):
File "D:\Grafica\Blender 3.4\3.4\scripts\addons_contrib\SimpleLattice\op_LatticeCreate.py", line 209, in execute
self.coords = self.get_coords_from_objects(objects)
File "D:\Grafica\Blender 3.4\3.4\scripts\addons_contrib\SimpleLattice\op_LatticeCreate.py", line 314, in get_coords_from_objects
bpy.ops.object.transform_apply(location=False, rotation=True, scale=False, properties=False)
File "D:\Grafica\Blender 3.4\3.4\scripts\modules\bpy\ops.py", line 113, in call
ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Cannot apply to a multi user: Object "Cube.001", Mesh "Cube.001", aborting

Before this I was using version 0.1.2 of the addon and I had no issues using it on instanced objects.

Simple lattice not taking into account modifier stack

Hi, in Blender 3.5, Simple Lattice is not taking into account the modifier stack when calculating the bounding box. The toggle in the addon's preferences for ignoring modifiers does not make a difference, but is left unchecked.

Here is an example of a simple object with two array modifiers, and the simple lattice is created on top of the bounding box of the geometry prior to the modifiers

image

Addon Almost completely useless

I tried using this addon for the last 2 weeks and in almost all instances it let me down. I first thought that modifiers were suspect in this, but nope. The glitchy results occur randomly. Sometimes the lattice is created with a zero scale on a random (not necessarily the active) component. Sometimes across a group of them and mostly the weight map associated with it is created with zero weights. I'm on the official release of Blender 2.8 (2.80.75)

I'm kind of surprised all this could escape your attention. I do hope you get to get it to work.

AJ

Request: BSpline as default interpolation

Hi Benjamin,

Many thanks for this very useful tool. This should be a default tool in Blender, in my humble opinion.

May I ask for BSpline to be the default interpolation type. This would save users a number of clicks to set all axes from Linear to BSpline interpolation.

Thank you.

Error when applying lattice to curve, text or nurbs

Hi, apologies for adding another bug report after you've just updated! I just started using more thanks to update and found this issue-

create any type of curve eg. Add>Curve>Path , apply simple lattice - error message pops up

I also observed similar errors on nurbs surface and text.

Thanks again for the fantastic work!

Error when the scene has no active object

Brief Intro

This bug is not harmful. This bug will disappear when any object added into scene.
The reason why I frequently trigger this bug, is that I use an empty Blender file as my default Blender startup file.

How to Reproduce:

  1. Create a new Blender file.
  2. Remove all objects in Outline View. Keep a clean Outline View.
  3. Right-clicking 3D View, or clicking Object menu in 3D View, both of them will cause this bug.

Environment

Blender version: 3.3 (Can be reproduced on 3.3. But this bug I have experienced too much times in some old versions of Blender.)
Traceback:

Traceback (most recent call last):
  File "E:\Blender\3.3\scripts\modules\bpy_types.py", line 904, in draw_ls
    func(self, context)
  File "E:\Blender\3.3\scripts\addons_contrib\SimpleLattice\__init__.py", line 152, in context_menu
    show_create_op = op_LatticeCreate.Op_LatticeCreateOperator.poll(context)
  File "E:\Blender\3.3\scripts\addons_contrib\SimpleLattice\op_LatticeCreate.py", line 128, in poll
    if (context.active_object.type in util.allowed_object_types and
AttributeError: 'NoneType' object has no attribute 'type'

Possible Solution

Add a None checker for context.active_object in here:

if (context.active_object.type in util.allowed_object_types and

SimpleLattice will not be listed.

Hi BenjaminSauder,

I was really looking forward to having SimpleLattice available for Blender 2.8.
Unfortunately, SimpleLattice is not listed under the search function (F3).
I have also renamed the folder from SimpleLattice-master to simplelattice, without success...

Strangely enough, a SimpleLattice-Object is created when I call the normal Lattice command through the search function.

Win 7 Pro
Build from Today: blender-2.80-a91886e76ebd-win64
GTX 1070

Many Greetings
Hans

Error when attempting to add lattice to grease pencil object in blender 3.0

thanks for an amazing script by the way, would love to use it with grease pencil objects!

error reads:
Python: Traceback (most recent call last):
File "C:\Users\rich\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\SimpleLattice-master\op_LatticeCreate.py", line 198, in execute
self.add_ffd_modifier(objects, lattice, self.group_mapping)
File "C:\Users\rich\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\SimpleLattice-master\op_LatticeCreate.py", line 337, in add_ffd_modifier
obj.modifiers[ffd.name].show_in_editmode = True
AttributeError: 'NoneType' object has no attribute 'name'

location: :-1

Doesn't work correctly.

Hi Benjamin,

in the version Dec 22, 2018 you will need several attempts to assign the latticce to an object.
When it finally works, the object has no modifier.
You have to "set Parent to" by hand.

The old version of Dec 19, 2018 works perfectly.

Blender Build from Yesterday: dafaa6f22881

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.