├── .gitignore ├── 00_product_fuzzy_boolean ├── intersection.png ├── left_difference_right.png ├── main.py ├── occupancy0.png ├── occupancy1.png ├── right_difference_left.png └── union.png ├── 01_inverse_csg_2D ├── github_logo.jpg ├── main.py ├── model.py └── output_reference │ ├── gt.png │ ├── loss_history.png │ ├── model_params.pt │ ├── prims_after_prune.png │ ├── reconstruction.png │ ├── reconstruction_after_prune.png │ └── tree.txt ├── 02_inverse_csg_quadrics_3D ├── main.py ├── model.py ├── output_reference │ ├── loss_history.png │ ├── model_params.pt │ └── recon.obj └── table_51016.obj ├── LICENSE ├── README.md └── utils ├── __init__.py ├── binary_image_to_sdf_interpolator.py ├── compute_image_occupancy.py ├── compute_image_sdf.py ├── normalize_to_unit_box.py ├── plot_2D_occupancy.py ├── read_obj.py ├── sample_2D_grid.py ├── sample_3D_grid.py ├── sample_image_points.py ├── single_mesh_dataloader.py ├── square_grid_bilinear_interpolator.py ├── to_numpy.py └── write_obj_marching_cubes.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/.gitignore -------------------------------------------------------------------------------- /00_product_fuzzy_boolean/intersection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/00_product_fuzzy_boolean/intersection.png -------------------------------------------------------------------------------- /00_product_fuzzy_boolean/left_difference_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/00_product_fuzzy_boolean/left_difference_right.png -------------------------------------------------------------------------------- /00_product_fuzzy_boolean/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/00_product_fuzzy_boolean/main.py -------------------------------------------------------------------------------- /00_product_fuzzy_boolean/occupancy0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/00_product_fuzzy_boolean/occupancy0.png -------------------------------------------------------------------------------- /00_product_fuzzy_boolean/occupancy1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/00_product_fuzzy_boolean/occupancy1.png -------------------------------------------------------------------------------- /00_product_fuzzy_boolean/right_difference_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/00_product_fuzzy_boolean/right_difference_left.png -------------------------------------------------------------------------------- /00_product_fuzzy_boolean/union.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/00_product_fuzzy_boolean/union.png -------------------------------------------------------------------------------- /01_inverse_csg_2D/github_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/01_inverse_csg_2D/github_logo.jpg -------------------------------------------------------------------------------- /01_inverse_csg_2D/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/01_inverse_csg_2D/main.py -------------------------------------------------------------------------------- /01_inverse_csg_2D/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/01_inverse_csg_2D/model.py -------------------------------------------------------------------------------- /01_inverse_csg_2D/output_reference/gt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/01_inverse_csg_2D/output_reference/gt.png -------------------------------------------------------------------------------- /01_inverse_csg_2D/output_reference/loss_history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/01_inverse_csg_2D/output_reference/loss_history.png -------------------------------------------------------------------------------- /01_inverse_csg_2D/output_reference/model_params.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/01_inverse_csg_2D/output_reference/model_params.pt -------------------------------------------------------------------------------- /01_inverse_csg_2D/output_reference/prims_after_prune.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/01_inverse_csg_2D/output_reference/prims_after_prune.png -------------------------------------------------------------------------------- /01_inverse_csg_2D/output_reference/reconstruction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/01_inverse_csg_2D/output_reference/reconstruction.png -------------------------------------------------------------------------------- /01_inverse_csg_2D/output_reference/reconstruction_after_prune.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/01_inverse_csg_2D/output_reference/reconstruction_after_prune.png -------------------------------------------------------------------------------- /01_inverse_csg_2D/output_reference/tree.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/01_inverse_csg_2D/output_reference/tree.txt -------------------------------------------------------------------------------- /02_inverse_csg_quadrics_3D/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/02_inverse_csg_quadrics_3D/main.py -------------------------------------------------------------------------------- /02_inverse_csg_quadrics_3D/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/02_inverse_csg_quadrics_3D/model.py -------------------------------------------------------------------------------- /02_inverse_csg_quadrics_3D/output_reference/loss_history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/02_inverse_csg_quadrics_3D/output_reference/loss_history.png -------------------------------------------------------------------------------- /02_inverse_csg_quadrics_3D/output_reference/model_params.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/02_inverse_csg_quadrics_3D/output_reference/model_params.pt -------------------------------------------------------------------------------- /02_inverse_csg_quadrics_3D/output_reference/recon.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/02_inverse_csg_quadrics_3D/output_reference/recon.obj -------------------------------------------------------------------------------- /02_inverse_csg_quadrics_3D/table_51016.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/02_inverse_csg_quadrics_3D/table_51016.obj -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/README.md -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/binary_image_to_sdf_interpolator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/binary_image_to_sdf_interpolator.py -------------------------------------------------------------------------------- /utils/compute_image_occupancy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/compute_image_occupancy.py -------------------------------------------------------------------------------- /utils/compute_image_sdf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/compute_image_sdf.py -------------------------------------------------------------------------------- /utils/normalize_to_unit_box.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/normalize_to_unit_box.py -------------------------------------------------------------------------------- /utils/plot_2D_occupancy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/plot_2D_occupancy.py -------------------------------------------------------------------------------- /utils/read_obj.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/read_obj.py -------------------------------------------------------------------------------- /utils/sample_2D_grid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/sample_2D_grid.py -------------------------------------------------------------------------------- /utils/sample_3D_grid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/sample_3D_grid.py -------------------------------------------------------------------------------- /utils/sample_image_points.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/sample_image_points.py -------------------------------------------------------------------------------- /utils/single_mesh_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/single_mesh_dataloader.py -------------------------------------------------------------------------------- /utils/square_grid_bilinear_interpolator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/square_grid_bilinear_interpolator.py -------------------------------------------------------------------------------- /utils/to_numpy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/to_numpy.py -------------------------------------------------------------------------------- /utils/write_obj_marching_cubes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HTDerekLiu/fuzzy-boolean/HEAD/utils/write_obj_marching_cubes.py --------------------------------------------------------------------------------