Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-06PLY: Cleanup properties descriptionMikhail Rachinskiy
2022-01-06PLY: do not write face normals to verticesMikhail Rachinskiy
Spliting edges for this purpose is doing more harm than good, additionally not all DCCs import PLY normals anyway, including Blender.
2022-01-06PLY: add comments for vertex ID in exporterMikhail Rachinskiy
2022-01-05PLY: refactor exporterMikhail Rachinskiy
New geometry traversal code, use bmesh data instead of mesh, simpler logic. This also fixes split faces when exporting normals and vertex colors. Exporting UVs still results in split faces, since UVs are stored in vertex data (not sure if PLY format limitation or just this exporter) faces has to be split along seams in order for each vertex to corespond with each UV coordinate. No performance benefits this time.
2022-01-04Revert "PLY: refactor exporter"Mikhail Rachinskiy
This reverts commit 7f4c2d5e48657af8bf450da7d6a0587065cfa8b4. Issues with unit tests.
2022-01-03PLY: refactor exporterMikhail Rachinskiy
New geometry traversal code, use bmesh data instead of mesh, much simpler logic. This also fixes two unreported issues with exporter: * Splitting faces when uv, vertex color or normals export options are enabled. * Disrupted vertex indices. On top of that there is a significant performance improvements, export Suzanne model with 4 subdivision levels: * Old 4.527s * New 1.029s
2021-12-31PLY: Cleanup and simplify collecting faces infoMikhail Rachinskiy
2021-12-31PLY: Fix export faces with more than 255 sidesMikhail Rachinskiy
Ideally we want to use uint16 or uint32 data type for this purpose, but certain DCCs have hardcoded uint8 limits in their PLY importers. Silently tringulating faces with many sides is bad, but it's even worse when correctly exported model won't load because of poor importer implementation in other DCCs.
2020-08-07Fix T78278: Cannot import some binary PLY file generated by Rhinos3D 6.0Bastien Montagne
Issue was that in binary file reading, python only recognize `'\n'` character as line separator... PLY seems to allow (or at least, use) other OS-related variants of lines terminators, so we have to implement our own line iterator for those cases...
2020-07-23PLY: show import/export status with cursorMikhail Rachinskiy
Later I would like to show progress by percentage, but not yet sure on how to better calculate it and triger update.
2020-07-22PLY: flush selection on importMikhail Rachinskiy
2020-07-22PLY: binary exportMikhail Rachinskiy
Thanks to Adrian Vogelsgesang (@vogelsgesang) and his binary ply export implementation proposal D4252. I did not reuse any code from his patch, but it gave me a good starting point as I had no idea how to work with binary data. In this commit: * Implement export to binary little-endian file format. * Remove information about blend filename from exported file, it has no purpose. * Binary is the default format from now on. I cannot see any reason to implement big-endian option, if there is, please let me know. Below you will find performance comparison between ASCII and binary formats. Test geometry: * Verts 379 000 * Faces 378 000 Export: * ASCII (old) 8.0 sec * ASCII 3.0 sec * Binary 2.4 sec Note: difference between old and new ASCII export is due to avoiding unnecessary normal claculation when export normals is disabled. Import: ASCII 5.75 sec Binary 4.9 sec File sizes: * ASCII 20.6 MB * Binary 10.4 MB
2020-07-15PLY Cleanup: formattingMikhail Rachinskiy
2020-07-15PLY Cleanup: redundant commentsMikhail Rachinskiy
2020-07-15PLY: avoid list to dict conversionMikhail Rachinskiy
Use dictionary comprehension instead of converting list comprehension to dictionary. Gives around 2.5% speedup, and will probably scale in favor of dict comprehension.
2020-03-06Addons: Use Manual URL prefixAaron Carlisle
2020-03-05Fix IO Addond Manual LinksAaron Carlisle
2020-03-05Update 'bl_info' use 'doc_url' instead of 'wiki_url'Campbell Barton
2020-01-26PLY Import: Hide empty operator properties sidebar in file browserJulian Eisel
The sidebar is empty for the PLY importer, so better to hide it.
2019-12-12io addons fix 404 manual linksmeta-androcto
2019-10-15PLY: code cleanupMikhail Rachinskiy
Group related and separate unrelated code, rename classes according to PEP8, remove redundant, outdated or misleading comments, greatly simplify UVs and vertex color variable init code.
2019-10-15PLY: cleanup use f-strings, with statementMikhail Rachinskiy
F-strings are not only more readable, they also give around 10% performance increase comparing to modulo formatting. Use with statement instead of file open/close methods, safer and better practice.
2019-10-15PLY: code cleanup and PEP8Mikhail Rachinskiy
Unused imports, move rare imports inside functions, comment out unused codeblocks instead of docstring, use bl_description.
2019-10-15PLY exporter: export selection or sceneMikhail Rachinskiy
D6060 now PLY exporter behaves similar to the rest of the export add-ons.
2019-10-11Fix T70724: PLY import fails with stringsCampbell Barton
2019-09-21PLY Format: ngon support for import/exportCampbell Barton
D5865 by @cmbasnett with minor edits.
2019-09-03UI: New options layout for IO Add-onsJulian Eisel
Updates importers/exporters for the new file-browser design. They are now reorganized into sub-panels. Updated the Blender version requirement (won't be compatible with older Blender versions). Left the Add-on versions untouched, will leave that up to Authors to change.
2019-07-15Update wiki_url to new manual pagesAaron Carlisle
2019-05-16Update for Depsgraph API changesSergey Sharybin
Addresses new behavior of object.to_mesh(). This is corresponding part for D4875. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4876
2019-05-16Addons: Adopt for Dependency Graph API changesSergey Sharybin
Mainly search-and-replace approach. Tested the enabled-by-default export/import addons. Seems to work with an exception of X3D which is still referencing Blender Internal material properties. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4866
2019-04-05Fix bug in previous commitRobert Guetzkow
Differential Revision: https://developer.blender.org/D4655
2019-04-05Fix T63227: import vertex colors from .ply file without alphaRobert Guetzkow
Differential Revision: https://developer.blender.org/D4648
2019-01-25PLY: cleanup styleCampbell Barton
2019-01-25PLY: Export alpha channel for vertex colorsCampbell Barton
2018-11-08Update for changes in Blender's APICampbell Barton
2018-10-19Merge branch 'master' into blender2.8Brecht Van Lommel
2018-10-19Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3746
2018-10-10Update for removal of tessfaces.Brecht Van Lommel
This ports the already working addons. The disabled x3d, psk, lwo, 3ds, raw, dxf addons still need to be converted.
2018-10-03PLY Import: add back some code from recent 2.8 updateCampbell Barton
'TextureFile' while not officially part of the spec is often used, so it's nice to add it back later.
2018-10-02port 'Stanford PLY format' addon to Blender 2.8Jacques Lucke
Here are a couple of example files for testing: https://people.sc.fsu.edu/~jburkardt/data/ply/ply.html I removed the texture support that was implemented here: rBA471370 (it is no official part of the file format; the exporter did not support it; reimplementing it is a bit of a hassle) Reviewers: brecht Differential Revision: https://developer.blender.org/D3754
2018-09-28Use orientation_helper decoratorDalai Felinto
The warnings in the console are getting on the way. May as well update the addons even if they are still mostly not ported to 2.8. We can probably ditch orientation_helper_factory altogether.
2018-08-29Python / Cleanup: rename INFO_MT to TOPBAR_MT to reflect actual location.Brecht Van Lommel
2018-06-29Add missing add-on version metadataAaron Carlisle
Only default enabled addons Give each the version: 1.0.0
2017-09-29I/O script changes for GSoC 2017 Vertex PaintCampbell Barton
These are changes to the ply and fbx export functions, and the ply import function, to deal with vertex color alphas as implemented in the GSoC 2017 Vertex Paint project - see T52910 & D2855
2017-06-30Fix version check for PLYCampbell Barton
Some programs wrote extra trailing zeros. Alternate fix to D2692.
2017-03-19Cleanup: identity for None comparisonCampbell Barton
2015-07-09Register individual classes instead of per-moduleCampbell Barton
2015-04-15PLY: add missing type: shortCampbell Barton
2015-04-10Cleanup: imports (formatting)Campbell Barton
2015-03-24Fix T44089: restore default orientation axes of each addons to stae before ↵Bastien Montagne
rBAbfbabc0592b8. Now using a class factory to allow customization of those defaults axes, still way less verbose than previous code!