Page MenuHome

Pavel Krasnov (PKras)
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 19 2018, 3:41 PM (38 w, 1 d)

Recent Activity

Mar 25 2018

Pavel Krasnov (PKras) updated the diff for D3114: Move STL import/export to C++ (WIP).

Changes:

  • Parsing for binary STL
  • Separate C and Python modules
Mar 25 2018, 9:09 AM · Addons

Mar 23 2018

Pavel Krasnov (PKras) retitled D3114: Move STL import/export to C++ (WIP) from Move STL import/export to C++ to Move STL import/export to C++ (WIP).
Mar 23 2018, 5:37 PM · Addons
Pavel Krasnov (PKras) updated the diff for D3114: Move STL import/export to C++ (WIP).

Changes:

  • Better hash function
  • STRPREFIX instead of strncmp
  • Fix for buffer overrun
  • Error checks for fscanf
  • Opening files with BLI_fopen() instead of fopen()
Mar 23 2018, 5:31 PM · Addons
Pavel Krasnov (PKras) added a project to D3114: Move STL import/export to C++ (WIP): Addons.
Mar 23 2018, 5:24 PM · Addons
Pavel Krasnov (PKras) created D3114: Move STL import/export to C++ (WIP).
Mar 23 2018, 6:44 AM · Addons

Mar 22 2018

Pavel Krasnov (PKras) added a watcher for Addons: Pavel Krasnov (PKras).
Mar 22 2018, 9:07 PM

Mar 21 2018

Pavel Krasnov (PKras) added a comment to D2835: Adding settings with cmake to compile C-Python modules and install them directly in the addon folder.

Ok, I see what's going on here. :) This patch is not in master yet.
What I didn't see is where is this patch? In Diff Details says:

Repository rB Blender
Branch arcpatch-D2835_1

but I can't checkout to this branch or find it on this tracker.

Mar 21 2018, 1:58 PM

Mar 20 2018

Pavel Krasnov (PKras) added a comment to D2835: Adding settings with cmake to compile C-Python modules and install them directly in the addon folder.

This instruction does not work for me. I am trying to modify addon io_mesh_stl for my GSoC 2018 proposal, but my code isn't compiling.
There wasn't CMakeLists.txt in scripts/addons folder, at least in my version of blender which I get by this instruction.
I've created this file by example and modified code. I wrote code to send message to console when stl is importing, but got an exception: ImportError: cannot import name 'io_mesh_stl_c'.
I built code using make command.
When i put manually compiled io_mesh_stl_c.so in build directory, it have worked fine. So, the problem is in building process.
Here is diff of my changes.

Mar 20 2018, 2:17 PM